Browse Source
ld/ PR ld/14215 * ldexp.c (fold_name <SIZEOF, ALIGNOF>): Allow forward section references. * emulparams/elf32_x86_64.sh (SEPARATE_GOTPLT): Depend on size of .got.plt. * emulparams/elf32mb_linux.sh (SEPARATE_GOTPLT): Likewise. * emulparams/elf32tilegx.sh (SEPARATE_GOTPLT): Likewise. * emulparams/elf32tilepro.sh (SEPARATE_GOTPLT): Likewise. * emulparams/elf64tilegx.sh (SEPARATE_GOTPLT): Likewise. * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Likewise. * emulparams/elf_k1om.sh (SEPARATE_GOTPLT): Likewise. * emulparams/elf_l1om.sh (SEPARATE_GOTPLT): Likewise. * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Likewise. ld/testsuite/ PR ld/14215 * ld-i386/i386.exp: Run pr14215. * ld-x86-64/x86-64.exp: Likewise. * ld-i386/pr14215.d: New file. * ld-i386/pr14215.s: Likewise. * ld-x86-64/pr14215.d: Likewise. * ld-x86-64/pr14215.s: Likewise.cygwin-64bit-branch
18 changed files with 67 additions and 10 deletions
@ -0,0 +1,9 @@ |
|||||
|
#name: PR ld/14215 |
||||
|
#as: --32 |
||||
|
#ld: -melf_i386 -shared -z relro |
||||
|
#readelf: -l --wide |
||||
|
|
||||
|
#failif |
||||
|
#... |
||||
|
03 .dynamic .got .data |
||||
|
#... |
||||
@ -0,0 +1,4 @@ |
|||||
|
.section .got |
||||
|
.space 0x2a8, 4 |
||||
|
.data |
||||
|
.zero 12 |
||||
@ -0,0 +1,9 @@ |
|||||
|
#name: PR ld/14215 |
||||
|
#as: --64 |
||||
|
#ld: -melf_x86_64 -shared -z relro |
||||
|
#readelf: -l --wide |
||||
|
|
||||
|
#failif |
||||
|
#... |
||||
|
03 .dynamic .got .data |
||||
|
#... |
||||
@ -0,0 +1,4 @@ |
|||||
|
.section .got |
||||
|
.space 0x2a8, 4 |
||||
|
.data |
||||
|
.zero 24 |
||||
Loading…
Reference in new issue