Browse Source
bfd/ * elf32-i386.c (elf_i386_allocate_dynrelocs): Don't clear pc_count for non-zero TLS symbol. (elf_i386_relocate_section): Don't resolve size relocation against non-zero TLS symbol. * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Don't clear pc_count for non-zero TLS symbol. (elf_x86_64_relocate_section): Don't resolve size relocation against non-zero TLS symbol. ld/testsuite/ * ld-size/size-10.rd: Updated. * ld-size/size-8.rd: Likewise. * ld-size/size32-2-i386.d: Likewise. * ld-size/size32-2-x32.d: Likewise. * ld-size/size32-2-x86-64.d: Likewise. * ld-size/size64-2-x32.d: Likewise. * ld-size/size64-2-x86-64.d: Likewise. * ld-size/size.exp (run_time_tests): Pass --hash-styl=gnu to linker for size-8 test.gdb_7_6-branch
12 changed files with 68 additions and 84 deletions
@ -1,4 +1,3 @@ |
|||
#failif |
|||
#... |
|||
.* +R_.*_NONE +.* |
|||
#... |
|||
[0-9a-f]+ +[0-9a-f]+ +R_.*_SIZE(32|64) +.* |
|||
#pass |
|||
|
|||
@ -1,4 +1,3 @@ |
|||
#failif |
|||
#... |
|||
.* +R_.*_NONE +.* |
|||
#... |
|||
[0-9a-f]+ +[0-9a-f]+ +R_.*_SIZE(32|64) +.* |
|||
#pass |
|||
|
|||
Loading…
Reference in new issue