From: Michael Meissner Date: Tue, 25 Jun 1996 19:45:17 +0000 (+0000) Subject: Comment out code to make GOT pointers negative of the GOT symbol for now X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cb73f5d786aa58b868592f1c08cba2b27a82ff38;p=binutils-gdb.git Comment out code to make GOT pointers negative of the GOT symbol for now --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 25a04909507..253264c744f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +Tue Jun 25 15:28:34 1996 Michael Meissner + + * 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 * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't diff --git a/bfd/elflink.h b/bfd/elflink.h index a091503e83d..04ef289a9df 100644 --- a/bfd/elflink.h +++ b/bfd/elflink.h @@ -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;