2004-03-22 04:06:06 +00:00
|
|
|
#source: dso-2.s
|
|
|
|
#source: dsofnf.s
|
|
|
|
#source: gotrel1.s
|
Adjust testsuite for cris-axis-aout.
* ld-cris/noglob1.d: Adjust regexp for a.out output.
* ld-cris/badgotr1.d, ld-cris/expdyn1.d, ld-cris/expdyn2.d,
ld-cris/expdyn3.d, ld-cris/expdyn4.d, ld-cris/expdyn5.d,
ld-cris/expdyn6.d, ld-cris/expdyn7.d, ld-cris/gotplt1.d,
ld-cris/gotplt2.d, ld-cris/gotplt3.d, ld-cris/hiddef1.d,
ld-cris/libdso-1.d, ld-cris/libdso-10.d, ld-cris/libdso-11.d,
ld-cris/libdso-12.d, ld-cris/libdso-13.d, ld-cris/libdso-14.d,
ld-cris/libdso-2.d, ld-cris/libdso-3.d, ld-cris/libdso-4.d,
ld-cris/locref1.d, ld-cris/locref2.d, ld-cris/nodyn4.d,
ld-cris/nodyn5.d, ld-cris/pv32-1.d, ld-cris/undef1.d,
ld-cris/weakref1.d: ld-cris/weakref2.d: Pass --em=criself to gas.
* ld-cris/v10-v32.d, ld-cris/v10-va.d, ld-cris/v32-ba-1.d,
ld-cris/v32-v10.d, ld-cris/v32-va.d, ld-cris/va-v10.d,
ld-cris/va-v32.d: Ditto. Pass -m criself to gld.
* ld-cris/v32-bin-1.d: Pass -m criself to gld.
2005-03-08 02:31:40 +00:00
|
|
|
#as: --pic --no-underscore --em=criself
|
2004-03-22 04:06:06 +00:00
|
|
|
#ld: -shared -m crislinux -z nocombreloc
|
|
|
|
#objdump: -sR
|
|
|
|
|
|
|
|
# Make sure we merge a PLT-specific entry (usually
|
|
|
|
# R_CRIS_JUMP_SLOT) with a GOT-specific entry (R_CRIS_GLOB_DAT)
|
|
|
|
# in a DSO. It's ok: we make a round-trip to the PLT in the
|
|
|
|
# executable if it's referenced there, but that's still
|
|
|
|
# perceived as better than having an unnecessary PLT, dynamic
|
|
|
|
# reloc and lookup in the DSO.)
|
|
|
|
|
|
|
|
.*: file format elf32-cris
|
|
|
|
|
|
|
|
DYNAMIC RELOCATION RECORDS
|
|
|
|
OFFSET TYPE VALUE
|
2005-08-15 15:39:48 +00:00
|
|
|
00002230 R_CRIS_GLOB_DAT dsofn
|
2004-03-22 04:06:06 +00:00
|
|
|
|
|
|
|
Contents of section .*
|
|
|
|
#...
|
|
|
|
Contents of section \.rela\.got:
|
2005-08-15 15:39:48 +00:00
|
|
|
0188 30220000 0a080000 00000000 .*
|
2004-03-22 04:06:06 +00:00
|
|
|
Contents of section \.text:
|
2005-08-15 15:39:48 +00:00
|
|
|
0194 5f1d0c00 30096f1d 0c000000 30090000 .*
|
|
|
|
01a4 6f0d0c00 0000611a 6f3e88df ffff0000 .*
|
2004-03-22 04:06:06 +00:00
|
|
|
Contents of section \.dynamic:
|
2005-08-15 15:39:48 +00:00
|
|
|
21b4 04000000 94000000 05000000 5c010000 .*
|
|
|
|
21c4 06000000 cc000000 0a000000 2a000000 .*
|
|
|
|
21d4 0b000000 10000000 07000000 88010000 .*
|
|
|
|
21e4 08000000 0c000000 09000000 0c000000 .*
|
|
|
|
21f4 00000000 00000000 00000000 00000000 .*
|
|
|
|
2204 00000000 00000000 00000000 00000000 .*
|
|
|
|
2214 00000000 00000000 00000000 00000000 .*
|
2004-03-22 04:06:06 +00:00
|
|
|
Contents of section \.got:
|
2005-08-15 15:39:48 +00:00
|
|
|
2224 b4210000 00000000 00000000 00000000 .*
|