mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-20 14:22:35 +08:00
bfd/
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use the ELF header to choose between 32-bit and 64-bit relocation structures.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2007-11-30 Richard Sandiford <rsandifo@nildram.co.uk>
|
||||||
|
|
||||||
|
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use the
|
||||||
|
ELF header to choose between 32-bit and 64-bit relocation structures.
|
||||||
|
|
||||||
2007-11-29 Mark Shinwell <shinwell@codesourcery.com>
|
2007-11-29 Mark Shinwell <shinwell@codesourcery.com>
|
||||||
|
|
||||||
* archures.c (bfd_mach_mips_loongson_2e): New.
|
* archures.c (bfd_mach_mips_loongson_2e): New.
|
||||||
|
@ -683,7 +683,8 @@ _bfd_elf_discard_section_eh_frame
|
|||||||
unsigned long r_symndx;
|
unsigned long r_symndx;
|
||||||
|
|
||||||
#ifdef BFD64
|
#ifdef BFD64
|
||||||
if (ptr_size == 8)
|
if (elf_elfheader (abfd)->e_ident[EI_CLASS]
|
||||||
|
== ELFCLASS64)
|
||||||
r_symndx = ELF64_R_SYM (cookie->rel->r_info);
|
r_symndx = ELF64_R_SYM (cookie->rel->r_info);
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user