mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-14 20:56:59 +08:00
* elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Look up
the options section in the output rather than input BFD to decide if to add a DT_MIPS_OPTIONS tag.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2012-08-13 Maciej W. Rozycki <macro@codesourcery.com>
|
||||||
|
|
||||||
|
* elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Look up
|
||||||
|
the options section in the output rather than input BFD to
|
||||||
|
decide if to add a DT_MIPS_OPTIONS tag.
|
||||||
|
|
||||||
2012-08-13 Maciej W. Rozycki <macro@codesourcery.com>
|
2012-08-13 Maciej W. Rozycki <macro@codesourcery.com>
|
||||||
|
|
||||||
* config.bfd: Wrap mips*el-*-linux* and mips*-*-linux* into
|
* config.bfd: Wrap mips*el-*-linux* and mips*-*-linux* into
|
||||||
|
@ -9282,7 +9282,7 @@ _bfd_mips_elf_size_dynamic_sections (bfd *output_bfd,
|
|||||||
|
|
||||||
if (IRIX_COMPAT (dynobj) == ict_irix6
|
if (IRIX_COMPAT (dynobj) == ict_irix6
|
||||||
&& (bfd_get_section_by_name
|
&& (bfd_get_section_by_name
|
||||||
(dynobj, MIPS_ELF_OPTIONS_SECTION_NAME (dynobj)))
|
(output_bfd, MIPS_ELF_OPTIONS_SECTION_NAME (dynobj)))
|
||||||
&& !MIPS_ELF_ADD_DYNAMIC_ENTRY (info, DT_MIPS_OPTIONS, 0))
|
&& !MIPS_ELF_ADD_DYNAMIC_ENTRY (info, DT_MIPS_OPTIONS, 0))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user