old-cross-binutils/ld/testsuite
Alan Modra 4fbb74a605 include/elf/
PR 5900
	* common.h (SHN_BAD): Delete.
	(SHN_LORESERVE .. SHN_HIRESERVE): Move to..
	* external.h: ..here.
	* internal.h (SHN_LORESERVE, SHN_HIRESERVE): Define.
	(SHN_LOPROC, SHN_HIPROC, SHN_LOOS, SHN_HIOS): Define.
	(SHN_ABS, SHN_COMMON, SHN_XINDEX, SHN_BAD): Define.
bfd/
	PR 5900
	* elf-bfd.h: Include elf/internal.h after elf/external.h.
	* elfcode.h (elf_swap_symbol_in): Map reserved shndx range.
	(elf_swap_symbol_out): Adjust SHN_XINDEX test.
	(elf_swap_ehdr_out): Mask SHN_LORESERVE and SHN_XINDEX to values
	seen in external structs.
	(valid_section_index_p): Delete.
	(elf_object_p): Don't increment section numbers over reserved range.
	Simplify test for valid sh_link, sh_info and e_shstrndx fields.
	(elf_write_shdrs_and_ehdr): Mask SHN_LORESERVE and SHN_XINDEX to values
	seen in external structs.  Don't increment section numbers over
	reserved range.
	* elf.c (bfd_elf_sym_name): Remove redundant tests on st_shndx.
	(bfd_section_from_shdr): Likewise.
	(group_signature): Range check before accessing elf_elfsections.
	(_bfd_elf_setup_sections): Likewise.
	(bfd_section_from_shdr): Likewise.
	(bfd_section_from_shdr): Don't increment section number over
	reserved sections.
	(assign_file_positions_for_non_load_sections): Likewise.
	(assign_file_positions_except_relocs): Likewise.
	(_bfd_elf_write_object_contents): Likewise.
	(assign_section_numbers): Likewise.  Adjust for changed SHN_*.
	(prep_headers): Delete unused variable.
	* elflink.c (bfd_elf_link_record_local_dynamic_symbol): Adjust
	for changed SHN_* values.
	(check_dynsym, elf_link_input_bfd): Likewise.
	(bfd_elf_final_link): Likewise.  Don't skip over reserved section
	range.
	(elf_fixup_link_order): Check that sh_link field is valid.
	* elf-hppa.h (elf_hppa_add_symbol_hook): Make "index" unsigned.
	* elf32-arm.c (elf32_arm_gc_mark_extra_sections): Range check before
	accesssing elf_elfsections.
	* elf32-avr.c (elf32_avr_size_stubs): Likewise.
	* elf32-hppa.c (elf32_hppa_size_stubs): Likewise.
	* elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Likewise.
	* elf64-hppa.c (elf64_hppa_check_relocs): Adjust for changed
	SHN_* defines.  Test for SHN_BAD return from
	_bfd_elf_section_from_bfd_section
binutils/
	PR 5900
	* readelf.c (SECTION_HEADER_INDEX, SECTION_HEADER_NUM): Delete.
	Remove use throughout file.
	(SECTION_HEADER): Likewise.
	(dump_relocations): Don't adjust st_shndx for reserved range.
	(process_file_header): Mask SHN_XINDEX to values seen in external
	elf structs.  Simplify valid section index tests.
	(get_32bit_elf_symbols, get_64bit_elf_symbols): Mask SHN_XINDEX.
	Map reserved st_shndx to internal form.
	(process_section_groups): Test that group symbol st_shndx is in
	range, not just non-zero.  Delete reserved range check.
	(get_symbol_index_type): Mask "type" to 16 bits when printing PRC,
	OS or RSV.
gdb/
	PR 5900
	* elfread.c (elf_symtab_read): Make shndx an unsigned int.
	* mipsread.c: Include elf/internal.h.
	(read_alphacoff_dynamic_symtab): Map external reserved sym_shndx
	to internal range.
ld/testsuite/
	PR 5900
	* ld-elf/sec64k.exp: Update.
2008-03-12 08:37:09 +00:00
..
config
ld-alpha 2007-09-29 Mike Frysinger <vapier@gentoo.org> 2007-09-30 01:33:15 +00:00
ld-arm 2008-03-08 Paul Brook <paul@codesourcery.com> 2008-03-08 14:58:14 +00:00
ld-auto-import * ld-auto-import/auto-import.exp: Use $ld to link the dll for 2008-02-20 17:51:18 +00:00
ld-bootstrap
ld-cdtest
ld-checks
ld-cris * ld-cris/libdso-10.d: Update expected output for the Dynamic 2008-02-27 17:06:42 +00:00
ld-crx
ld-cygwin
ld-d10v
ld-discard
ld-elf include/elf/ 2008-03-12 08:37:09 +00:00
ld-elfcomm Support the use of the STT_COMMON type. (In source and object files only at the moment) 2007-10-16 14:42:15 +00:00
ld-elfvers * ld-elfvers/vers.exp (test_ar): Sort the expected output so that 2008-01-28 16:41:05 +00:00
ld-elfvsb
ld-elfweak
ld-fastcall
ld-frv
ld-gc * ld-gc/gc.c: Make sure used_func is not inlined. 2008-01-23 16:05:45 +00:00
ld-h8300
ld-i386 2007-09-29 Mike Frysinger <vapier@gentoo.org> 2007-09-30 01:33:15 +00:00
ld-ia64 2007-09-29 Mike Frysinger <vapier@gentoo.org> 2007-09-30 01:33:15 +00:00
ld-libs
ld-linkonce
ld-m68hc11
ld-m68k
ld-maxq
ld-mep
ld-mips-elf [ld/testsuite/ChangeLog] 2007-11-17 13:38:57 +00:00
ld-mmix
ld-mn10300 * ld-elf/flags1.d: Add xfails for ports for which the test will work. 2007-12-31 11:29:01 +00:00
ld-pe
ld-pie
ld-powerpc bfd/ 2008-03-01 06:52:52 +00:00
ld-s390 2007-09-29 Mike Frysinger <vapier@gentoo.org> 2007-09-30 01:33:15 +00:00
ld-scripts * ld-scripts/rgn-over.exp: Add --no-overlays for spu. 2007-12-14 21:54:50 +00:00
ld-selective 2007-09-30 Mike Frysinger <vapier@gentoo.org> 2007-09-30 15:26:43 +00:00
ld-sh Support the use of the STT_COMMON type. (In source and object files only at the moment) 2007-10-16 14:42:15 +00:00
ld-shared 2008-02-14 H.J. Lu <hongjiu.lu@intel.com> 2008-02-14 20:23:27 +00:00
ld-sparc 2007-09-29 Mike Frysinger <vapier@gentoo.org> 2007-09-30 01:33:15 +00:00
ld-spu * ld-spu/ovl.d: Update. 2008-02-07 11:03:06 +00:00
ld-srec * ld-srec/srec.exp: Define __stack_chk_fail sym. 2007-10-12 04:38:29 +00:00
ld-undefined binutils/testsuite/ 2008-02-04 23:41:54 +00:00
ld-v850
ld-versados
ld-vxworks include/elf/ 2007-11-08 13:51:07 +00:00
ld-x86-64 2007-09-29 Mike Frysinger <vapier@gentoo.org> 2007-09-30 01:33:15 +00:00
ld-xc16x
ld-xstormy16
ld-xtensa 2008-01-31 Marc Gauthier <marc@tensilica.com> 2008-02-01 17:58:48 +00:00
lib * lib/ld-lib.exp (run_dump_test): Don't apply prune_warnings 2008-02-18 11:04:09 +00:00
ChangeLog include/elf/ 2008-03-12 08:37:09 +00:00
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007 bfd/ 2008-01-07 16:45:35 +00:00
ChangeLog-9303