old-cross-binutils/ld/testsuite/ld-sh
Nick Clifton 9fb71ee49f Enhance GAS's .section directive so that it can take numeric values for the flags and type fields. (ELF only)
gas	* doc/as.texinfo (.section): Document that numeric values can now
	be used for the flags and type fields of the ELF target's .section
	directive.  Add notes about the restrictions on setting flags and
	types.
	* config/obj-elf.c (obj_elf_change_section): Allow known sections
	to be given processor specific section types.  Allow processor and
	application specific flags of a section to be set after
	definition.
	(obj_elf_parse_section_letters): Handle parsing numeric values.
	(obj_elf_section_type): Handle parsing numeric values.
	(obj_elf_section): Allow numeric type values.
	* config/obj-elf.h (obj_elf_change_section): Update prototype.
	* testsuite/gas/elf/section10.d: New test.
	* testsuite/gas/elf/section10.s: Source file for new test.
	* testsuite/gas/elf/elf.exp: Run the new test.
	* testsuite/gas/i386/ilp32/x86-64-unwind.d: Remove dependency upon
	the description of the flags produced by readelf.
	* testsuite/gas/tic6x/scomm-directive-4.d: Likewise.
	* NEWS: Mention the new feature.

bfd	* elf-bfd.h (struct bfd_elf_special_section): Use unsigned values
	for length and type fields.  Use a signed value for the
	suffix_length field.

binutils* readelf.c (get_section_type_name): Add hex prefix to offsets
	printed for LOPROC and LOOS values.  Ensure that a result is
	always returned for the V850 target, even when an unrecognised
	processor specific value is encountered.
	(process_section_headers): Display key values in the order in
	which they appear to the user.  Add the "C (compressed)" value to
	the list.

ld	* testsuite/ld-i386/pr12718.d: Remove dependency upon the
	description of the flags produced by readelf.
	* testsuite/ld-i386/pr12921.d: Likewise.
	* testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
	* testsuite/ld-i386/tlsbin.rd: Likewise.
	* testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
	* testsuite/ld-i386/tlsbindesc.rd: Likewise.
	* testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
	* testsuite/ld-i386/tlsdesc.rd: Likewise.
	* testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
	* testsuite/ld-i386/tlsgdesc.rd: Likewise.
	* testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
	* testsuite/ld-i386/tlsnopic.rd: Likewise.
	* testsuite/ld-i386/tlspic-nacl.rd: Likewise.
	* testsuite/ld-i386/tlspic.rd: Likewise.
	* testsuite/ld-s390/tlsbin.rd: Likewise.
	* testsuite/ld-s390/tlsbin_64.rd: Likewise.
	* testsuite/ld-s390/tlspic.rd: Likewise.
	* testsuite/ld-s390/tlspic_64.rd: Likewise.
	* testsuite/ld-sh/tlsbin-2.d: Likewise.
	* testsuite/ld-sh/tlspic-2.d: Likewise.
	* testsuite/ld-tic6x/common.d: Likewise.
	* testsuite/ld-tic6x/shlib-1.rd: Likewise.
	* testsuite/ld-tic6x/shlib-1b.rd: Likewise.
	* testsuite/ld-tic6x/shlib-1r.rd: Likewise.
	* testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
	* testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
	* testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
	* testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
	* testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
	* testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
	* testsuite/ld-tic6x/static-app-1.rd: Likewise.
	* testsuite/ld-tic6x/static-app-1b.rd: Likewise.
	* testsuite/ld-tic6x/static-app-1r.rd: Likewise.
	* testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
	* testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
	* testsuite/ld-x86-64/ilp32-4.d: Likewise.
	* testsuite/ld-x86-64/pr12718.d: Likewise.
	* testsuite/ld-x86-64/pr12921.d: Likewise.
	* testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
	* testsuite/ld-x86-64/split-by-file.rd: Likewise.
	* testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
	* testsuite/ld-x86-64/tlsbin.rd: Likewise.
	* testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
	* testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
	* testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
	* testsuite/ld-x86-64/tlsdesc.rd: Likewise.
	* testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
	* testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
	* testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
	* testsuite/ld-x86-64/tlspic.rd: Likewise.
	* testsuite/ld-xtensa/tlsbin.rd: Likewise.
	* testsuite/ld-xtensa/tlspic.rd: Likewise.
2016-02-15 11:11:46 +00:00
..
arch Copyright update for binutils 2016-01-01 23:00:01 +10:30
sh64 Copyright update for binutils 2016-01-01 23:00:01 +10:30
adjsw8.s Fix PR10378 which is SH relax bug. 2014-08-01 19:13:39 +09:00
fdpic-funcdesc-shared.d 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-funcdesc-shared.s 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-funcdesc-static.d 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-funcdesc-static.s 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-gotfuncdesc-shared.d 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-gotfuncdesc-shared.s 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-gotfuncdesc-static.d 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-gotfuncdesc-static.s 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-gotfuncdesci20-shared.d 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-gotfuncdesci20-shared.s 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-gotfuncdesci20-static.d 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-gotfuncdesci20-static.s 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-goti20-shared.d 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-goti20-shared.s 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-goti20-static.d 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-goti20-static.s 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-gotofffuncdesc-shared.d 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-gotofffuncdesc-shared.s 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-gotofffuncdesc-static.d 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-gotofffuncdesc-static.s 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-gotofffuncdesci20-shared.d 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-gotofffuncdesci20-shared.s 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-gotofffuncdesci20-static.d 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-gotofffuncdesci20-static.s 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-gotoffi20-shared.d 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-gotoffi20-shared.s 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-gotoffi20-static.d 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-gotoffi20-static.s 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-plt-be.d 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-plt-le.d 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-plt.s 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-plti20-be.d 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-plti20-le.d 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-stack-default.d 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-stack-set.d bfd/ 2012-10-23 09:33:56 +00:00
fdpic-stack-size.d 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
fdpic-stack.s 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
ld-r-1.d * ld-sh/ld-r-1.d: Update. 2007-03-23 00:00:23 +00:00
ldr1.s
ldr2.s
rd-sh.exp Copyright update for binutils 2016-01-01 23:00:01 +10:30
refdbg-0-dso.d PR 11225 2010-01-28 15:25:20 +00:00
refdbg-1.d
refdbg.s
refdbglib.s
reloc1.d bfd/ 2006-08-04 13:13:56 +00:00
reloc1.s bfd/ 2006-08-04 13:13:56 +00:00
sh-vxworks.exp Copyright update for binutils 2016-01-01 23:00:01 +10:30
sh.exp Copyright update for binutils 2016-01-01 23:00:01 +10:30
sh1.s Fix PR10373 which is SH relax bug. 2014-08-01 19:17:47 +09:00
sh2.c
shared-1.d Adjust testcases for readelf addend change 2012-05-12 13:46:26 +00:00
shared-2.d
start.s
sub2l-1.d bfd/ 2012-06-06 10:50:18 +00:00
sub2l.s
textrel1.s
textrel2.s
tlsbin-0-dso.d
tlsbin-1.d * ld-sh/tlsbin-1.d: Update. 2006-10-20 15:16:44 +00:00
tlsbin-2.d Enhance GAS's .section directive so that it can take numeric values for the flags and type fields. (ELF only) 2016-02-15 11:11:46 +00:00
tlsbin-3.d Adjust for dynamic sym changes. 2005-08-15 15:39:48 +00:00
tlsbin-4.d Adjust for dynamic sym changes. 2005-08-15 15:39:48 +00:00
tlsbin.s
tlsbinpic.s
tlslib.s
tlspic-1.d * ld-sh/tlsbin-1.d: Update. 2006-10-20 15:16:44 +00:00
tlspic-2.d Enhance GAS's .section directive so that it can take numeric values for the flags and type fields. (ELF only) 2016-02-15 11:11:46 +00:00
tlspic-3.d
tlspic-4.d
tlspic1.s
tlspic2.s
tlstpoff-1.d * ld-sh/tlsbin-1.d: Update. 2006-10-20 15:16:44 +00:00
tlstpoff-2.d
tlstpoff1.s
tlstpoff2.s
vxworks1-le.dd ld/testsuite/ 2007-05-14 12:07:11 +00:00
vxworks1-lib-le.dd ld/testsuite/ 2007-05-14 12:07:11 +00:00
vxworks1-lib.dd ld/testsuite/ 2007-05-14 12:07:11 +00:00
vxworks1-lib.nd Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
vxworks1-lib.rd ld/testsuite/ 2007-05-15 12:22:34 +00:00
vxworks1-lib.s bfd/ 2006-08-04 13:13:56 +00:00
vxworks1-lib.td ld/testsuite/ 2007-05-15 12:22:34 +00:00
vxworks1-static.d bfd/ 2006-08-04 13:13:56 +00:00
vxworks1.dd ld/testsuite/ 2007-05-14 12:07:11 +00:00
vxworks1.ld ld/testsuite/ 2007-05-15 12:22:34 +00:00
vxworks1.rd bfd/ 2006-08-04 13:13:56 +00:00
vxworks1.s bfd/ 2006-08-04 13:13:56 +00:00
vxworks2-static.sd bfd/ 2006-08-04 13:13:56 +00:00
vxworks2.s bfd/ 2006-08-04 13:13:56 +00:00
vxworks2.sd bfd/ 2006-08-04 13:13:56 +00:00
vxworks3-le.dd ld/testsuite/ 2007-05-14 12:07:11 +00:00
vxworks3-lib-le.dd bfd/ 2006-08-04 13:13:56 +00:00
vxworks3-lib.dd bfd/ 2006-08-04 13:13:56 +00:00
vxworks3-lib.s bfd/ 2006-08-04 13:13:56 +00:00
vxworks3.dd ld/testsuite/ 2007-05-14 12:07:11 +00:00
vxworks3.s bfd/ 2006-08-04 13:13:56 +00:00
vxworks4.d bfd/ 2006-08-04 13:13:56 +00:00
vxworks4a.s bfd/ 2006-08-04 13:13:56 +00:00
vxworks4b.s bfd/ 2006-08-04 13:13:56 +00:00
weak1.d bfd/ 2012-06-06 10:50:18 +00:00
weak1.s