9a6351f1d2
* 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.
23 lines
517 B
Makefile
23 lines
517 B
Makefile
#as: --no-underscore --pic --em=criself
|
|
#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:
|
|
#...
|
|
0+80076 g F \.text 0+2 expfn
|
|
0+820ac g O \.data 0+ expobj
|
|
#...
|
|
0+820a0 g O \.got 0+ \.hidden _GLOBAL_OFFSET_TABLE_
|
|
#...
|
|
Disassembly of section \.text:
|
|
#...
|
|
0+80078 <y>:
|
|
80078: 6fae d6df ffff .*
|
|
8007e: 6fbe 0c00 0000 .*
|