diff options
author | Michael Meissner <gnu@the-meissners.org> | 1996-06-25 19:45:17 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1996-06-25 19:45:17 +0000 |
commit | cb73f5d786aa58b868592f1c08cba2b27a82ff38 (patch) | |
tree | 8d20e28ab5f9eb7fa1e57e6ea0a4b41a7349c420 /bfd/elflink.h | |
parent | 297a4f1a3c83ab631169cb8d071b12fb876bd8e7 (diff) | |
download | gdb-cb73f5d786aa58b868592f1c08cba2b27a82ff38.zip gdb-cb73f5d786aa58b868592f1c08cba2b27a82ff38.tar.gz gdb-cb73f5d786aa58b868592f1c08cba2b27a82ff38.tar.bz2 |
Comment out code to make GOT pointers negative of the GOT symbol for now
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r-- | bfd/elflink.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h index a091503..04ef289 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; |