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:
Alan Modra 2019-09-23 10:12:31 +09:30
parent f5c5b7c124
commit 0b4453c791
13 changed files with 97 additions and 143 deletions

View file

@ -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