Comment out code to make GOT pointers negative of the GOT symbol for now
This commit is contained in:
parent
297a4f1a3c
commit
cb73f5d786
2 changed files with 9 additions and 1 deletions
|
@ -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>
|
Tue Jun 25 11:41:24 1996 Richard Henderson <rth@tamu.edu>
|
||||||
|
|
||||||
* elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't
|
* elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't
|
||||||
|
|
|
@ -3361,9 +3361,10 @@ elf_create_pointer_linker_section (abfd, info, lsect, h, rel)
|
||||||
linker_section_ptr->written_address_p = false;
|
linker_section_ptr->written_address_p = false;
|
||||||
*ptr_linker_section_ptr = linker_section_ptr;
|
*ptr_linker_section_ptr = linker_section_ptr;
|
||||||
|
|
||||||
|
#if 0
|
||||||
if (lsect->hole_size && lsect->hole_offset < lsect->max_hole_offset)
|
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->hole_offset += ARCH_SIZE / 8;
|
||||||
lsect->sym_offset += ARCH_SIZE / 8;
|
lsect->sym_offset += ARCH_SIZE / 8;
|
||||||
if (lsect->sym_hash) /* Bump up symbol value if needed */
|
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
|
else
|
||||||
|
#endif
|
||||||
linker_section_ptr->offset = lsect->section->_raw_size;
|
linker_section_ptr->offset = lsect->section->_raw_size;
|
||||||
|
|
||||||
lsect->section->_raw_size += ARCH_SIZE / 8;
|
lsect->section->_raw_size += ARCH_SIZE / 8;
|
||||||
|
|
Loading…
Reference in a new issue