Comment out code to make GOT pointers negative of the GOT symbol for now
authorMichael Meissner <gnu@the-meissners.org>
Tue, 25 Jun 1996 19:45:17 +0000 (19:45 +0000)
committerMichael Meissner <gnu@the-meissners.org>
Tue, 25 Jun 1996 19:45:17 +0000 (19:45 +0000)
bfd/ChangeLog
bfd/elflink.h

index 25a04909507ad1e66527e4876feca1f404bbe127..253264c744fbf83bd01148e33ec5119386ee65f4 100644 (file)
@@ -1,3 +1,9 @@
+Tue Jun 25 15:28:34 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * elflink.h (elf_create_pointer_linker_section): Comment out code
+       dealing with making GOT pointers negative of the GOT symbol for
+       now.
+
 Tue Jun 25 11:41:24 1996  Richard Henderson  <rth@tamu.edu>
 
        * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't
index a091503e83d39513fce4a85f297d0a22b075f4ce..04ef289a9df9adb08858e3b5237ca00bd7551529 100644 (file)
@@ -3361,9 +3361,10 @@ elf_create_pointer_linker_section (abfd, info, lsect, h, rel)
   linker_section_ptr->written_address_p = false;
   *ptr_linker_section_ptr = linker_section_ptr;
 
+#if 0
   if (lsect->hole_size && lsect->hole_offset < lsect->max_hole_offset)
     {
-      linker_section_ptr->offset = lsect->section->_raw_size - lsect->hole_size;
+      linker_section_ptr->offset = lsect->section->_raw_size - lsect->hole_size + (ARCH_SIZE / 8);
       lsect->hole_offset += ARCH_SIZE / 8;
       lsect->sym_offset  += ARCH_SIZE / 8;
       if (lsect->sym_hash)     /* Bump up symbol value if needed */
@@ -3378,6 +3379,7 @@ elf_create_pointer_linker_section (abfd, info, lsect, h, rel)
        }
     }
   else
+#endif
     linker_section_ptr->offset = lsect->section->_raw_size;
 
   lsect->section->_raw_size += ARCH_SIZE / 8;