old-cross-binutils/ld/testsuite/ld-sparc
David S. Miller 739f7f82be bfd/
* reloc.c (BFD_RELOC_SPARC_GOTDATA_HIX22,
	BFD_RELOC_SPARC_GOTDATA_LOX10, BFD_RELOC_SPARC_GOTDATA_OP_HIX22,
	BFD_RELOC_SPARC_GOTDATA_OP_LOX10, BFD_RELOC_SPARC_GOTDATA_OP): New.
	* libbfd.h: Regnerate.
	* bfd-in2.h: Regenerate.
	* elfxx-sparc.c (_bfd_sparc_elf_howto_table): Add entries for
	GOTDATA relocations.
	(sparc_reloc_map): Likewise.
	(_bfd_sparc_elf_check_relocs): Handle R_SPARC_GOTDATA_* like
	R_SPARC_GOT*.
	(_bfd_sparc_elf_gc_sweep_hook): Likewise.
	(_bfd_sparc_elf_relocate_section): Transform R_SPARC_GOTDATA_HIX22,
	R_SPARC_GOTDATA_LOX10, R_SPARC_GOTDATA_OP_HIX22, and
	R_SPARC_GOTDATA_OP_LOX10 into the equivalent R_SPARC_GOT* reloc.
	Simply ignore R_SPARC_GOTDATA_OP relocations.

gas/

	* config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
	and relocation generation.
	(tc_gen_reloc): Likewise.

gas/testsuite/

	* gas/sparc/gotops32.d: New.
	* gas/sparc/gotops32.s: Likewise.
	* gas/sparc/gotops64.d: Likewise.
	* gas/sparc/gotops64.s: Likewise.
	* gas/sparc/sparc.exp: Run new gotdata tests.

ld/testsuite/

	* ld-sparc/gotop32.dd: New.
	* ld-sparc/gotop32.rd: Likewise.
	* ld-sparc/gotop32.s: Likewise.
	* ld-sparc/gotop32.sd: Likewise.
	* ld-sparc/gotop32.td: Likewise.
	* ld-sparc/gotop64.dd: Likewise.
	* ld-sparc/gotop64.rd: Likewise.
	* ld-sparc/gotop64.s: Likewise.
	* ld-sparc/gotop64.sd: Likewise.
	* ld-sparc/gotop64.td: Likewise.
	* ld-sparc/sparc.exp: Run new gotdata tests.
2008-04-16 08:51:18 +00:00
..
gotop32.dd bfd/ 2008-04-16 08:51:18 +00:00
gotop32.rd bfd/ 2008-04-16 08:51:18 +00:00
gotop32.s bfd/ 2008-04-16 08:51:18 +00:00
gotop32.sd bfd/ 2008-04-16 08:51:18 +00:00
gotop32.td bfd/ 2008-04-16 08:51:18 +00:00
gotop64.dd bfd/ 2008-04-16 08:51:18 +00:00
gotop64.rd bfd/ 2008-04-16 08:51:18 +00:00
gotop64.s bfd/ 2008-04-16 08:51:18 +00:00
gotop64.sd bfd/ 2008-04-16 08:51:18 +00:00
gotop64.td bfd/ 2008-04-16 08:51:18 +00:00
sparc.exp bfd/ 2008-04-16 08:51:18 +00:00
tlsg32.s
tlsg32.sd
tlsg64.s
tlsg64.sd 2005-04-14 David S. Miller <davem@davemloft.net> 2005-04-13 22:29:36 +00:00
tlslib.s
tlsnopic.s
tlspic.s
tlssunbin32.dd 2005-04-11 David S. Miller <davem@davemloft.net> 2005-04-11 22:13:28 +00:00
tlssunbin32.rd 2007-09-29 Mike Frysinger <vapier@gentoo.org> 2007-09-30 01:33:15 +00:00
tlssunbin32.s 2004-10-01 H.J. Lu <hongjiu.lu@intel.com> 2004-10-01 20:11:40 +00:00
tlssunbin32.sd 2005-04-11 David S. Miller <davem@davemloft.net> 2005-04-11 22:13:28 +00:00
tlssunbin32.td
tlssunbin64.dd 2005-04-14 David S. Miller <davem@davemloft.net> 2005-04-13 22:29:36 +00:00
tlssunbin64.rd 2007-09-29 Mike Frysinger <vapier@gentoo.org> 2007-09-30 01:33:15 +00:00
tlssunbin64.s
tlssunbin64.sd 2005-04-14 David S. Miller <davem@davemloft.net> 2005-04-13 22:29:36 +00:00
tlssunbin64.td 2005-04-14 David S. Miller <davem@davemloft.net> 2005-04-13 22:29:36 +00:00
tlssunbinpic32.s 2004-10-01 H.J. Lu <hongjiu.lu@intel.com> 2004-10-01 20:11:40 +00:00
tlssunbinpic64.s
tlssunnopic32.dd * config.bfd: Handle sparcv*-*-linux-* the same as sparc-*-linux-*. 2007-08-17 22:00:11 +00:00
tlssunnopic32.rd 2007-09-29 Mike Frysinger <vapier@gentoo.org> 2007-09-30 01:33:15 +00:00
tlssunnopic32.s 2004-10-01 H.J. Lu <hongjiu.lu@intel.com> 2004-10-01 20:11:40 +00:00
tlssunnopic32.sd * config.bfd: Handle sparcv*-*-linux-* the same as sparc-*-linux-*. 2007-08-17 22:00:11 +00:00
tlssunnopic64.dd * config.bfd: Handle sparcv*-*-linux-* the same as sparc-*-linux-*. 2007-08-17 22:00:11 +00:00
tlssunnopic64.rd 2007-09-29 Mike Frysinger <vapier@gentoo.org> 2007-09-30 01:33:15 +00:00
tlssunnopic64.s
tlssunnopic64.sd * config.bfd: Handle sparcv*-*-linux-* the same as sparc-*-linux-*. 2007-08-17 22:00:11 +00:00
tlssunpic32.dd 2005-04-11 David S. Miller <davem@davemloft.net> 2005-04-11 22:13:28 +00:00
tlssunpic32.rd 2007-09-29 Mike Frysinger <vapier@gentoo.org> 2007-09-30 01:33:15 +00:00
tlssunpic32.s 2004-10-01 H.J. Lu <hongjiu.lu@intel.com> 2004-10-01 20:11:40 +00:00
tlssunpic32.sd
tlssunpic32.td
tlssunpic64.dd 2005-04-14 David S. Miller <davem@davemloft.net> 2005-04-13 22:29:36 +00:00
tlssunpic64.rd 2007-09-29 Mike Frysinger <vapier@gentoo.org> 2007-09-30 01:33:15 +00:00
tlssunpic64.s
tlssunpic64.sd 2005-04-14 David S. Miller <davem@davemloft.net> 2005-04-13 22:29:36 +00:00
tlssunpic64.td 2005-04-14 David S. Miller <davem@davemloft.net> 2005-04-13 22:29:36 +00:00
vxworks1-lib.dd bfd/ 2006-04-05 12:41:59 +00:00
vxworks1-lib.nd bfd/ 2006-04-05 12:41:59 +00:00
vxworks1-lib.rd ld/testsuite/ 2007-05-15 12:22:34 +00:00
vxworks1-lib.s bfd/ 2006-04-05 12:41:59 +00:00
vxworks1-lib.td ld/testsuite/ 2007-05-15 12:22:34 +00:00
vxworks1-static.d bfd/ 2006-04-05 12:41:59 +00:00
vxworks1.dd bfd/ 2006-04-05 12:41:59 +00:00
vxworks1.ld ld/testsuite/ 2007-05-15 12:22:34 +00:00
vxworks1.rd bfd/ 2006-04-05 12:41:59 +00:00
vxworks1.s bfd/ 2006-04-05 12:41:59 +00:00
vxworks2-static.sd bfd/ 2006-04-05 12:41:59 +00:00
vxworks2.s bfd/ 2006-04-05 12:41:59 +00:00
vxworks2.sd bfd/ 2006-04-05 12:41:59 +00:00