binutils-gdb/include
Jakub Jelinek db6751f2e7 * elf-bfd.h (enum elf_reloc_type_class): New.
(struct elf_backend_data): Add elf_backend_reloc_type_class.
	(_bfd_elf_reloc_type_class): New.
	* elfxx-target.h (elf_backend_reloc_type_class): Define.
	(elfNN_bed): Add elf_backend_reloc_type_class.
	* elf.c (_bfd_elf_reloc_type_class): New.
	* elf32-i386.c (elf_i386_check_relocs): Set DF_TEXTREL if the reloc
	is against read-only section.
	(elf_i386_size_dynamic_sections): Use DF_TEXTREL flag instead of
	looking up section names for DT_TEXTREL.
	(elf_i386_reloc_type_class): New.
	(elf_backend_reloc_type_class): Define.
	* elf32-sparc.c (elf32_sparc_check_relocs): Set DF_TEXTREL if the
	reloc is against read-only section.
	(elf32_sparc_size_dynamic_sections): Use DF_TEXTREL flag instead of
	looking up section names for DT_TEXTREL.
	(elf32_sparc_reloc_type_class): New.
	(elf_backend_reloc_type_class): Define.
	* elf64-sparc.c (sparc64_elf_check_relocs): Set DF_TEXTREL if the
	reloc is against read-only section.
	(sparc64_elf_size_dynamic_sections): Use DF_TEXTREL flag instead of
	looking up section names for DT_TEXTREL.
	(sparc64_elf_reloc_type_class): New.
	(elf_backend_reloc_type_class): Define.
	* elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add reltext field.
	(elfNN_ia64_hash_table_create): Clear ia64_info.
	(get_reloc_section): Set DF_TEXTREL if the reloc is against read-only
	section.
	(elfNN_ia64_size_dynamic_sections): Use ia64_info->reltext flag
	instead of looking up section names for DT_TEXTREL.
	(elfNN_ia64_reloc_type_class): New.
	(elf_backend_reloc_type_class): Define.
	* elflink.h (size_dynamic_sections): Add spare DT_NULL tags.
	(struct elf_link_sort_rela): New.
	(elf_link_sort_cmp1, elf_link_sort_cmp2, elf_link_sort_relocs): New.
	(elf_bfd_final_link): Call elf_link_sort_relocs.
	Convert one spare DT_NULL into DT_RELCOUNT resp. DT_RELACOUNT if
	necessary.

	* bfdlink.h (struct bfd_link_info): Add combreloc and
	spare_dynamic_tags fields.

	* emultempl/elf32.em (place_orphan): Place orphan .rel* sections
	into .rel.dyn resp. .rela.dyn if combreloc.
	(get_script): If .x linker script is equal to .xn, only put it
	once into the binary.
	Add .xc and .xsc scripts.
	(parse_args): Handle -z combreloc and -z nocombreloc.
	* scripttempl/elf.sc (.rela.sbss): Fix a typo.
	For .xc and .xsc scripts put all .rel* or .rela* input sections
	but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
	* genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
	is elf.
	Strip trailing whitespace from script.
	Generate .xc and .xsc scripts if requested.
	* ldmain.c (main): Initialize link_info.combreloc and
	link_info.spare_dynamic_tags.
	* lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
	(ld_options): Add --spare-dynamic-tags option.
	(parse_args): Likewise.
	* ld.texinfo: Document -z combreloc and -z nocombreloc.
	* ldint.texinfo: Document .xc and .xsc linker scripts.
	* NEWS: Add notes about -z combreloc and SHF_MERGE.
2001-08-23 15:14:18 +00:00
..
aout Fix a typo. 2001-03-18 02:56:20 +00:00
coff Support for xcoff64 2001-05-24 20:32:58 +00:00
elf Remerge with gcc 2001-06-30 08:58:10 +00:00
mpw Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
nlm Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
opcode Add support for MIPS R1[02]000 performance counter opcodes. 2001-08-16 19:24:33 +00:00
regs
alloca-conf.h Add alloca-conf.h from libiberty. 2000-09-28 08:00:54 +00:00
ansidecl.h merge from gcc 2001-08-18 23:47:14 +00:00
bfdlink.h * elf-bfd.h (enum elf_reloc_type_class): New. 2001-08-23 15:14:18 +00:00
bin-bugs.h Update address for bug reports. 2001-01-09 21:05:35 +00:00
bout.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
callback.h
ChangeLog * elf-bfd.h (enum elf_reloc_type_class): New. 2001-08-23 15:14:18 +00:00
COPYING * COPYING: Update to current 2000-12-19 22:01:20 +00:00
demangle.h merge from gcc 2001-05-08 14:35:18 +00:00
dis-asm.h Add openRISC support in opcodes 2001-04-27 13:34:20 +00:00
dyn-string.h merge from gcc 2001-08-23 14:51:49 +00:00
fibheap.h merge from gcc 2001-08-23 14:51:49 +00:00
filenames.h
floatformat.h * floatformat.h (floatformat_arm_ext): Document as deprecated. 2001-08-21 00:20:07 +00:00
fnmatch.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
fopen-bin.h
fopen-same.h
fopen-vms.h
gdbm.h
getopt.h Synchronise with copyright dates on FSF GCC versions of these files 2001-03-14 19:45:29 +00:00
hashtab.h merge from gcc 2001-08-17 06:33:05 +00:00
hp-symtab.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
ieee.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
libiberty.h (lbasename): Change function declaration to return a const char pointer. 2001-08-10 23:46:17 +00:00
MAINTAINERS
md5.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
oasys.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
objalloc.h
obstack.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
os9k.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
partition.h merge from gcc 2001-08-23 14:51:49 +00:00
progress.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
remote-sim.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
safe-ctype.h Synchronise with copyright dates on FSF GCC versions of these files 2001-03-14 19:45:29 +00:00
sim-d10v.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
sort.h merge from gcc 2001-08-23 14:51:49 +00:00
splay-tree.h merge from gcc 2001-08-23 14:51:49 +00:00
symcat.h Synchronise with copyright dates on FSF GCC versions of these files 2001-03-14 19:45:29 +00:00
ternary.h merge from gcc 2001-05-08 14:35:18 +00:00
xregex2.h merge from gcc 2001-07-19 00:04:29 +00:00
xregex.h merge from gcc 2001-08-02 23:27:47 +00:00