old-cross-binutils/ld/testsuite/ld-mips-elf
Richard Sandiford 81d43bffb5 bfd/
* elf32-mips.c (mips_elf_adjust_addend): New function, mostly split
	out from...
	(_bfd_mips_elf_relocate_section): ...here.  Use it to adjust r_addend
	for final links too.

ld/testsuite/
	* ld-mips/emit-relocs-1a.s, ld-mips/emit-relocs-1b.s,
	* ld-mips/emit-relocs-1.ld, ld-mips/emit-relocs-1.d: New test.
	* ld-mips/mips-elf.exp: Run it.
2006-03-14 07:47:49 +00:00
..
branch-misc-1.d 2002-10-03 Chris Demetriou <cgd@broadcom.com> 2002-10-03 23:56:24 +00:00
eh-frame1-n32.d * elf-bfd.h (eh_cie_fde): Add new fields: add_augmentation_size and 2004-11-16 10:16:30 +00:00
eh-frame1-n64.d * elf-bfd.h (eh_cie_fde): Add new fields: add_augmentation_size and 2004-11-16 10:16:30 +00:00
eh-frame1.ld * elf-bfd.h (elf_backend_data): Add elf_backend_eh_frame_address_size. 2005-01-31 20:39:11 +00:00
eh-frame1.s * elf-bfd.h (elf_backend_data): Add elf_backend_eh_frame_address_size. 2005-01-31 20:39:11 +00:00
eh-frame2-n32.d * elf-eh-frame.c (skip_cfa_op, skip_non_nops): New functions. 2005-01-17 17:44:41 +00:00
eh-frame2-n64.d * elf-eh-frame.c (skip_cfa_op, skip_non_nops): New functions. 2005-01-17 17:44:41 +00:00
eh-frame3.d * ld-mips-elf/eh-frame3.d, ld-mips-elf/eh-frame4.d: Move comments 2005-02-02 20:19:35 +00:00
eh-frame4.d * ld-mips-elf/eh-frame3.d, ld-mips-elf/eh-frame4.d: Move comments 2005-02-02 20:19:35 +00:00
elf-rel-got-n32.d * ld-mips-elf/elf-rel-got-n32.d, ld-mips-elf/elf-rel-got-n64-linux.d, 2005-01-31 22:01:02 +00:00
elf-rel-got-n64-linux.d * ld-mips-elf/elf-rel-got-n32.d, ld-mips-elf/elf-rel-got-n64-linux.d, 2005-01-31 22:01:02 +00:00
elf-rel-got-n64.d * ld-mips-elf/elf-rel-got-n32.d, ld-mips-elf/elf-rel-got-n64-linux.d, 2005-01-31 22:01:02 +00:00
elf-rel-xgot-n32.d * ld-mips-elf/elf-rel-got-n32.d, ld-mips-elf/elf-rel-got-n64-linux.d, 2005-01-31 22:01:02 +00:00
elf-rel-xgot-n64-linux.d * ld-mips-elf/elf-rel-got-n32.d, ld-mips-elf/elf-rel-got-n64-linux.d, 2005-01-31 22:01:02 +00:00
elf-rel-xgot-n64.d * ld-mips-elf/elf-rel-got-n32.d, ld-mips-elf/elf-rel-got-n64-linux.d, 2005-01-31 22:01:02 +00:00
emit-relocs-1.d bfd/ 2006-03-14 07:47:49 +00:00
emit-relocs-1.ld bfd/ 2006-03-14 07:47:49 +00:00
emit-relocs-1a.s bfd/ 2006-03-14 07:47:49 +00:00
emit-relocs-1b.s bfd/ 2006-03-14 07:47:49 +00:00
jalbal.d * ld-mips-elf/elf-rel-got-n32.d, ld-mips-elf/elf-rel-got-n64-linux.d, 2005-01-31 22:01:02 +00:00
jalbal.s * ld-mips-elf/jalbal.d: New test. 2004-12-09 07:14:53 +00:00
jaloverflow-2.d * elfxx-mips.c (mips_elf_calculate_relocation): Don't report an 2004-12-14 09:48:20 +00:00
jaloverflow-2.s * elfxx-mips.c (mips_elf_calculate_relocation): Don't report an 2004-12-14 09:48:20 +00:00
jaloverflow.d * ld-mips-elf/jaloverflow.d: New test. 2004-12-08 20:28:08 +00:00
jaloverflow.s * ld-mips-elf/jaloverflow.d: New test. 2004-12-08 20:28:08 +00:00
jr.s bfd/ 2003-01-02 21:31:32 +00:00
mips-dyn.ld * ld-mips-elf/tlsbin-o32.s, ld-mips-elf/mips-dyn.ld, 2005-03-02 21:22:57 +00:00
mips-elf-flags.exp * elfxx-mips.c (mips_mach_extends_p): Treat MIPS64 as an extension 2005-08-01 11:59:33 +00:00
mips-elf.exp bfd/ 2006-03-14 07:47:49 +00:00
mips-lib.ld * ld-mips-elf/tlsbin-o32.s, ld-mips-elf/mips-dyn.ld, 2005-03-02 21:22:57 +00:00
mips16-1.d [ gas/testsuite/ChangeLog ] 2002-07-29 21:07:12 +00:00
mips16-1a.s
mips16-1b.s
mips16-hilo-n32.d bfd/: 2005-02-15 19:57:54 +00:00
mips16-hilo.d bfd/: 2005-02-15 19:57:54 +00:00
mips16-hilo.ld bfd/: 2005-02-15 19:57:54 +00:00
mips16-hilo.s bfd/: 2005-02-15 19:57:54 +00:00
multi-got-1-1.s * ld-mips-elf/multi-got-1.d: New. 2003-01-28 00:01:53 +00:00
multi-got-1-2.s * ld-mips-elf/multi-got-1.d: New. 2003-01-28 00:01:53 +00:00
multi-got-1.d * ld-mips-elf/multi-got-1.d: Adjust for new ld behavior. 2005-08-18 16:46:22 +00:00
multi-got-no-shared-1.s bfd/ChangeLog 2005-03-05 00:01:44 +00:00
multi-got-no-shared-2.s bfd/ChangeLog 2005-03-05 00:01:44 +00:00
multi-got-no-shared.d * ld-mips-elf/multi-got-1.d: Adjust for new ld behavior. 2005-08-18 16:46:22 +00:00
region1.d
region1.t
region1a.s
region1b.s
rel32-n32.d * ld-mips-elf/rel32-n32.d: Adjust for changes in linker behaviour. 2006-02-04 08:28:29 +00:00
rel32-o32.d * ld-mips-elf/rel32-n32.d: Adjust for changes in linker behaviour. 2006-02-04 08:28:29 +00:00
rel32.s * ld-mips-elf/mips-elf.exp (linux_gnu): New variable. Add: 2003-03-11 19:20:16 +00:00
rel64.d * ld-mips-elf/rel32-n32.d: Adjust for changes in linker behaviour. 2006-02-04 08:28:29 +00:00
rel64.s * ld-mips-elf/mips-elf.exp (linux_gnu): New variable. Add: 2003-03-11 19:20:16 +00:00
relax-jalr-n32-shared.d * ld-mips-elf/relax-jalr-n32.d: Fix little endian test failure. 2003-09-21 16:40:29 +00:00
relax-jalr-n32.d * ld-mips-elf/relax-jalr-n32.d: Fix little endian test failure. 2003-09-21 16:40:29 +00:00
relax-jalr-n64-shared.d * ld-mips-elf/relax-jalr-n32.d: Fix little endian test failure. 2003-09-21 16:40:29 +00:00
relax-jalr-n64.d * ld-mips-elf/relax-jalr-n32.d: Fix little endian test failure. 2003-09-21 16:40:29 +00:00
relax-jalr.s * ld-mips-elf/relax-jalr.s: Fix testsuite breakage. 2003-06-11 22:51:59 +00:00
reloc-1-n32.d * ld-mips-elf/reloc-1[ab].s: New source files. 2003-12-18 10:25:12 +00:00
reloc-1-n64.d * ld-mips-elf/reloc-1[ab].s: New source files. 2003-12-18 10:25:12 +00:00
reloc-1-rel.d * ld-mips-elf/reloc-1[ab].s: New source files. 2003-12-18 10:25:12 +00:00
reloc-1a.s * ld-mips-elf/reloc-1[ab].s: New source files. 2003-12-18 10:25:12 +00:00
reloc-1b.s * ld-mips-elf/reloc-1[ab].s: New source files. 2003-12-18 10:25:12 +00:00
reloc-2.d * ld-mips-elf/reloc-1[ab].s: New source files. 2003-12-18 10:25:12 +00:00
reloc-2.ld * ld-mips-elf/reloc-1[ab].s: New source files. 2003-12-18 10:25:12 +00:00
reloc-2a.s * ld-mips-elf/reloc-1[ab].s: New source files. 2003-12-18 10:25:12 +00:00
reloc-2b.s * ld-mips-elf/reloc-1[ab].s: New source files. 2003-12-18 10:25:12 +00:00
reloc-merge-lo16.d 2005-02-22 Eric Christopher <echristo@redhat.com> 2005-02-22 23:54:41 +00:00
reloc-merge-lo16.ld * ld-mips-elf/reloc-merge-lo16.{s,d,ld}: New test. 2004-07-08 15:43:00 +00:00
reloc-merge-lo16.s * ld-mips-elf/reloc-merge-lo16.{s,d,ld}: New test. 2004-07-08 15:43:00 +00:00
textrel-1.d bfd/ChangeLog: 2005-03-24 01:30:47 +00:00
textrel-1.s bfd/ChangeLog: 2005-03-24 01:30:47 +00:00
tls-hidden2-got.d bfd/ 2006-02-04 08:29:58 +00:00
tls-hidden2.d bfd/ 2006-02-04 08:29:58 +00:00
tls-hidden2a.s bfd/ 2006-02-04 08:29:58 +00:00
tls-hidden2b.s bfd/ 2006-02-04 08:29:58 +00:00
tls-multi-got-1-1.s * ld-mips-elf/tlsbin-o32.s, ld-mips-elf/mips-dyn.ld, 2005-03-02 21:22:57 +00:00
tls-multi-got-1-2.s * ld-mips-elf/tlsbin-o32.s, ld-mips-elf/mips-dyn.ld, 2005-03-02 21:22:57 +00:00
tls-multi-got-1.d * ld-mips-elf/tlsbin-o32.s, ld-mips-elf/mips-dyn.ld, 2005-03-02 21:22:57 +00:00
tls-multi-got-1.got * ld-mips-elf/rel32-n32.d: Adjust for changes in linker behaviour. 2006-02-04 08:28:29 +00:00
tls-multi-got-1.r * ld-mips-elf/rel32-n32.d: Adjust for changes in linker behaviour. 2006-02-04 08:28:29 +00:00
tlsbin-o32.d * ld-mips-elf/tlsbin-o32.s, ld-mips-elf/mips-dyn.ld, 2005-03-02 21:22:57 +00:00
tlsbin-o32.got * ld-mips-elf/tlsbin-o32.s, ld-mips-elf/mips-dyn.ld, 2005-03-02 21:22:57 +00:00
tlsbin-o32.s * ld-mips-elf/tlsbin-o32.s, ld-mips-elf/mips-dyn.ld, 2005-03-02 21:22:57 +00:00
tlsdyn-o32-1.d * ld-mips-elf/rel32-n32.d: Adjust for changes in linker behaviour. 2006-02-04 08:28:29 +00:00
tlsdyn-o32-1.got * ld-mips-elf/rel32-n32.d: Adjust for changes in linker behaviour. 2006-02-04 08:28:29 +00:00
tlsdyn-o32-2.d * ld-mips-elf/rel32-n32.d: Adjust for changes in linker behaviour. 2006-02-04 08:28:29 +00:00
tlsdyn-o32-2.got * ld-mips-elf/rel32-n32.d: Adjust for changes in linker behaviour. 2006-02-04 08:28:29 +00:00
tlsdyn-o32-2.s * ld-mips-elf/tlsbin-o32.s, ld-mips-elf/mips-dyn.ld, 2005-03-02 21:22:57 +00:00
tlsdyn-o32-3.d * ld-mips-elf/rel32-n32.d: Adjust for changes in linker behaviour. 2006-02-04 08:28:29 +00:00
tlsdyn-o32-3.got * ld-mips-elf/rel32-n32.d: Adjust for changes in linker behaviour. 2006-02-04 08:28:29 +00:00
tlsdyn-o32.d * ld-mips-elf/rel32-n32.d: Adjust for changes in linker behaviour. 2006-02-04 08:28:29 +00:00
tlsdyn-o32.got * ld-mips-elf/rel32-n32.d: Adjust for changes in linker behaviour. 2006-02-04 08:28:29 +00:00
tlsdyn-o32.s * ld-mips-elf/tlsbin-o32.s, ld-mips-elf/mips-dyn.ld, 2005-03-02 21:22:57 +00:00
tlslib-hidden.ver * ld-mips-elf/tlsbin-o32.s, ld-mips-elf/mips-dyn.ld, 2005-03-02 21:22:57 +00:00
tlslib-o32-hidden.got * ld-mips-elf/rel32-n32.d: Adjust for changes in linker behaviour. 2006-02-04 08:28:29 +00:00
tlslib-o32-ver.got * ld-mips-elf/rel32-n32.d: Adjust for changes in linker behaviour. 2006-02-04 08:28:29 +00:00
tlslib-o32.d * ld-mips-elf/tlsbin-o32.s, ld-mips-elf/mips-dyn.ld, 2005-03-02 21:22:57 +00:00
tlslib-o32.got * ld-mips-elf/rel32-n32.d: Adjust for changes in linker behaviour. 2006-02-04 08:28:29 +00:00
tlslib-o32.s * ld-mips-elf/tlsbin-o32.s, ld-mips-elf/mips-dyn.ld, 2005-03-02 21:22:57 +00:00
tlslib.ver * ld-mips-elf/tlsbin-o32.s, ld-mips-elf/mips-dyn.ld, 2005-03-02 21:22:57 +00:00