This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I've got question how to introduce new functions in bfd. I haven't seen any doc about it.
+.#define BFD_JUMP_TABLE_IMPORT(NAME) \ +. NAME##_imports_get_shared_objects, \ +. NAME##_imports_get, \
maybe instead of creating new BFD_JUMP_TABLE() I've should add these function to BFD_JUMP_TABLE() which already exists?)
and than in each declared bfd_target I should do:
BFD_JUMP_TABLE_IMPORT(_bfd_noimports) when i don't implement support for it.
and BFD_JUMP_TABLE_IMPORT(mytarget) when I implement support for it?
[these _bfd_noimports_* function SHOULD exists or they could be macros to bfd_true() bfd_false() or bfd_nullvoidptr() with typecast? Where I should define them?]
Am I right?
Cheers Nick
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |