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: --no-underscore --pic --em=criself
|
2003-06-18 04:11:13 +00:00
|
|
|
#source: expdyn1.s
|
|
|
|
#source: locref1.s
|
|
|
|
#ld: -m crislinux
|
|
|
|
#objdump: -dt
|
|
|
|
|
|
|
|
# Referencing a "normal" (non-hidden) symbol with a local-only PIC
|
|
|
|
# relocation is ok when building an executable.
|
|
|
|
|
|
|
|
.*: file format elf32-cris
|
|
|
|
|
|
|
|
SYMBOL TABLE:
|
|
|
|
#...
|
2009-09-24 15:56:52 +00:00
|
|
|
0+82084 l O \.got 0+ _GLOBAL_OFFSET_TABLE_
|
2003-06-18 04:11:13 +00:00
|
|
|
0+80076 g F \.text 0+2 expfn
|
2005-08-12 00:23:48 +00:00
|
|
|
0+82090 g O \.data 0+4 expobj
|
2003-06-18 04:11:13 +00:00
|
|
|
#...
|
|
|
|
Disassembly of section \.text:
|
|
|
|
#...
|
|
|
|
0+80078 <y>:
|
2005-03-23 19:04:33 +00:00
|
|
|
80078: 6fae f2df ffff .*
|
* ld-cris/expdyn1.d, ld-cris/expdyn5.d, ld-cris/expdyn6.d,
ld-cris/expdyn7.d, ld-cris/gotplt2.d, ld-cris/gotplt3.d,
ld-cris/libdso-1.d, ld-cris/libdso-2.d, ld-cris/locref1.d,
ld-cris/nodyn4.d, ld-cris/nodyn5.d: Adjust for reordered
sections.
2004-08-21 12:51:41 +00:00
|
|
|
8007e: 6fbe 0c00 0000 .*
|