diff options
Diffstat (limited to 'bfd/targets.c')
-rw-r--r-- | bfd/targets.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bfd/targets.c b/bfd/targets.c index 8086f03..076441b 100644 --- a/bfd/targets.c +++ b/bfd/targets.c @@ -133,6 +133,11 @@ DESCRIPTION . (bfd_assert (__FILE__,__LINE__), NULL)) .#endif . +.{* Defined to TRUE if unused section symbol should be kept. *} +.#ifndef TARGET_KEEP_UNUSED_SECTION_SYMBOLS +.#define TARGET_KEEP_UNUSED_SECTION_SYMBOLS TRUE +.#endif +. This is the structure which defines the type of BFD this is. The <<xvec>> member of the struct <<bfd>> itself points here. Each module that implements access to a different target under BFD, @@ -215,6 +220,9 @@ DESCRIPTION . possible targets when more than one target matches. *} . unsigned char match_priority; . +. {* TRUE if unused section symbols should be kept. *} +. bfd_boolean keep_unused_section_symbols; +. . {* Entries for byte swapping for data. These are different from the . other entry points, since they don't take a BFD as the first argument. . Certain other handlers could do the same. *} @@ -655,6 +663,12 @@ to find an alternative output format that is suitable. . return sy->the_bfd->xvec->flavour; .} . +.static inline bfd_boolean +.bfd_keep_unused_section_symbols (const bfd *abfd) +.{ +. return abfd->xvec->keep_unused_section_symbols; +.} +. */ /* All known xvecs (even those that don't compile on all systems). |