aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-sparc.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf64-sparc.c')
-rw-r--r--bfd/elf64-sparc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf64-sparc.c b/bfd/elf64-sparc.c
index 1b2835c..a9b553d 100644
--- a/bfd/elf64-sparc.c
+++ b/bfd/elf64-sparc.c
@@ -1268,7 +1268,6 @@ sparc64_elf_check_relocs (abfd, info, sec, relocs)
sgot->size += 8;
-#if 0
/* Doesn't work for 64-bit -fPIC, since sethi/or builds
unsigned numbers. If we permit ourselves to modify
code so we get sethi/xor, this could work.
@@ -1277,10 +1276,11 @@ sparc64_elf_check_relocs (abfd, info, sec, relocs)
/* If the .got section is more than 0x1000 bytes, we add
0x1000 to the value of _GLOBAL_OFFSET_TABLE_, so that 13
bit relocations have a greater chance of working. */
+ /*
if (sgot->size >= 0x1000
&& elf_hash_table (info)->hgot->root.u.def.value == 0)
elf_hash_table (info)->hgot->root.u.def.value = 0x1000;
-#endif
+ */
break;