OSDN Git Service

2000-07-17 Koundinya K <kk@ddeorg.soft.net>
authorUlf Carlsson <ulfc@engr.sgi.com>
Mon, 17 Jul 2000 19:39:40 +0000 (19:39 +0000)
committerUlf Carlsson <ulfc@engr.sgi.com>
Mon, 17 Jul 2000 19:39:40 +0000 (19:39 +0000)
commitd99c17f736034cf52079c13981e6ac330739e30e
treee3e884bbbfaac8115085f79d3e5e483249a98138
parent3e3b4f342b770e8d74af03bd66bd5a8403c8eff7
2000-07-17  Koundinya K  <kk@ddeorg.soft.net>

Enable the support for Traditional MIPS.
* elf32-mips.c (IRIX_COMPAT): Recognize bfd_elf32_tradbigmips_vecand
return ict_none appropriately for traditional mips targets.
(STUB_LW): Change 0x8f998000 to 0x8f998010 for traditional mips.
(STUB_MOVE): Conditionalize for traditonal mips.
(STUB_LI16): Likewise.
(_bfd_mips_elf_modify_segment_map): Conditionalize to avoid making
room for RTPROC header.
(_bfd_mips_elf_modify_segment_map): For a normal mips executable set
the permission for the PT_DYNAMIC as read, write and execute.
(mips_elf_calculate_relocation): Check for the symbol _DYNAMIC_LINKING
for traditonal mips.
(_bfd_mips_elf_create_dynamic_sections): Add the symbol
_DYNAMIC_LINKING for traditonal mips.
(_bfd_mips_elf_create_dynamic_sections): Add the symbol __RLD_MAP
in case of traditonal mips.
(_bfd_mips_elf_adjust_dynamic_symbol): Create a stub only if a PLT
entry is required. For a function if PLT is not required then set the
corresponding hash table entry to 0.
(_bfd_mips_elf_size_dynamic_sections): Add DT_DEBUG entry for
traditonal mips.
(_bfd_mips_elf_finish_dynamic_symbol): for a undefined symbol in a
shared object set the value to 0.
(_bfd_mips_elf_finish_dynamic_symbol): Check for the symbol
_DYNAMIC_LINKING for traditonal mips.
(_bfd_mips_elf_finish_dynamic_symbol): Check for the symbol __RLD_MAP
for traditonal mips.
bfd/ChangeLog
bfd/elf32-mips.c