Browse Source
2010-09-30 H.J. Lu <hongjiu.lu@intel.com> PR ld/11812 * ld-i386/nogot2.d: New * ld-i386/nogot2.s: Likewise. * ld-x86-64/nogot2.d: Likewise. * ld-x86-64/nogot2.s: Likewise. * ld-i386/i386.exp: Run nogot2. * ld-x86-64/x86-64.exp: Likewise.binutils-2_21-branch
7 changed files with 35 additions and 0 deletions
@ -0,0 +1,7 @@ |
|||||
|
#ld: -pie -melf_i386 |
||||
|
#readelf: -S --wide |
||||
|
#as: --32 |
||||
|
|
||||
|
#... |
||||
|
[ ]*\[.*\][ ]+.*\.got\.plt.* |
||||
|
#pass |
||||
@ -0,0 +1,4 @@ |
|||||
|
.text |
||||
|
.globl _start |
||||
|
_start: |
||||
|
movl _GLOBAL_OFFSET_TABLE_, %ecx |
||||
@ -0,0 +1,7 @@ |
|||||
|
#ld: -pie -melf_x86_64 |
||||
|
#readelf: -S --wide |
||||
|
#as: --64 |
||||
|
|
||||
|
#... |
||||
|
[ ]*\[.*\][ ]+.*\.got\.plt.* |
||||
|
#pass |
||||
@ -0,0 +1,4 @@ |
|||||
|
.text |
||||
|
.globl _start |
||||
|
_start: |
||||
|
movq _GLOBAL_OFFSET_TABLE_(%rip), %rcx |
||||
Loading…
Reference in new issue