mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 05:47:26 +08:00
Revert the last change to elf64-x86-64.c.
This commit is contained in:
@ -1,9 +1,3 @@
|
|||||||
2011-02-16 H.J. Lu <hongjiu.lu@intel.com>
|
|
||||||
|
|
||||||
* elf64-x86-64.c (elf_x86_64_check_relocs): Check relocation
|
|
||||||
overflow only for ABI_64_P.
|
|
||||||
(elf_x86_64_relocate_section): Likewise.
|
|
||||||
|
|
||||||
2011-02-15 Tristan Gingold <gingold@adacore.com>
|
2011-02-15 Tristan Gingold <gingold@adacore.com>
|
||||||
|
|
||||||
* vms-alpha.c (alpha_vms_link_add_archive_symbols): Add a comment.
|
* vms-alpha.c (alpha_vms_link_add_archive_symbols): Add a comment.
|
||||||
|
@ -1498,7 +1498,6 @@ not_pointer:
|
|||||||
sections we don't care about, such as debug sections or
|
sections we don't care about, such as debug sections or
|
||||||
non-constant sections. */
|
non-constant sections. */
|
||||||
if (info->shared
|
if (info->shared
|
||||||
&& ABI_64_P (abfd)
|
|
||||||
&& (sec->flags & SEC_ALLOC) != 0
|
&& (sec->flags & SEC_ALLOC) != 0
|
||||||
&& (sec->flags & SEC_READONLY) != 0)
|
&& (sec->flags & SEC_READONLY) != 0)
|
||||||
{
|
{
|
||||||
@ -3149,7 +3148,6 @@ elf_x86_64_relocate_section (bfd *output_bfd,
|
|||||||
for shared library since it may not be local when used
|
for shared library since it may not be local when used
|
||||||
as function address. */
|
as function address. */
|
||||||
if (info->shared
|
if (info->shared
|
||||||
&& ABI_64_P (output_bfd)
|
|
||||||
&& h
|
&& h
|
||||||
&& h->def_regular
|
&& h->def_regular
|
||||||
&& h->type == STT_FUNC
|
&& h->type == STT_FUNC
|
||||||
|
Reference in New Issue
Block a user