forked from Imagelibrary/binutils-gdb
elf bfd.h tidy
bfd/ * bfd-in.h (enum notice_asneeded_action): Move to bfdlink.h. Move most other elf declarations.. * elf-bfd.h: ..to here. * bfd-in2.h: Regenerate. include/ * bfdlink.h (enum notice_asneeded_action): Define. ld/ * deffilep.y: Include bfdlink.h. * ldelf.c: Likewise. * ldelfgen.c: Likewise. * ldver.c: Likewise. * mri.c: Likewise. * emultempl/irix.em: Don't include ld.h, ldmain.h, libiberty.h. Comment.
This commit is contained in:
@@ -42,6 +42,12 @@ enum bfd_link_discard
|
||||
discard_all /* Discard all locals. */
|
||||
};
|
||||
|
||||
enum notice_asneeded_action {
|
||||
notice_as_needed,
|
||||
notice_not_needed,
|
||||
notice_needed
|
||||
};
|
||||
|
||||
/* Whether to generate ELF common symbols with the STT_COMMON type
|
||||
during a relocatable link. */
|
||||
enum bfd_link_elf_stt_common
|
||||
|
||||
Reference in New Issue
Block a user