mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
9b4fce51f3
* ld-size/size.exp: For *-*-nacl* targets, use options_regsub(ld) to massage -m arguments into _nacl variants. * ld/testsuite/ld-size/size32-1-i386.d: Loosen regexps so they don't care what the exact addresses are. * ld/testsuite/ld-size/size32-1-x32.d: Likewise. * ld/testsuite/ld-size/size32-1-x86-64.d: Likewise. * ld/testsuite/ld-size/size32-2-i386.d: Likewise. * ld/testsuite/ld-size/size32-2-x32.d: Likewise. * ld/testsuite/ld-size/size32-2-x86-64.d: Likewise. * ld/testsuite/ld-size/size64-1-x32.d: Likewise. * ld/testsuite/ld-size/size64-1-x86-64.d: Likewise. * ld/testsuite/ld-size/size64-2-x32.d: Likewise. * ld/testsuite/ld-size/size64-2-x86-64.d: Likewise.
22 lines
647 B
D
22 lines
647 B
D
#source: size64-2.s
|
|
#as: --64
|
|
#ld: -shared -melf_x86_64
|
|
#objdump: -R -s -j .data
|
|
#target: x86_64-*-*
|
|
|
|
.*: +file format .*
|
|
|
|
DYNAMIC RELOCATION RECORDS
|
|
OFFSET TYPE VALUE
|
|
[[:xdigit:]]+ R_X86_64_SIZE64 xxx
|
|
[[:xdigit:]]+ R_X86_64_SIZE64 yyy
|
|
[[:xdigit:]]+ R_X86_64_SIZE64 zzz
|
|
[[:xdigit:]]+ R_X86_64_SIZE64 zzz-0x000000000000001e
|
|
[[:xdigit:]]+ R_X86_64_SIZE64 zzz\+0x000000000000001e
|
|
|
|
|
|
Contents of section .data:
|
|
[[:xdigit:]]+ 00000000 00000000 00000000 00000000 ................
|
|
[[:xdigit:]]+ 00000000 00000000 00000000 00000000 ................
|
|
[[:xdigit:]]+ 00000000 00000000 ........
|