* bfd/bfd-in.h (bfd_elf32_arm_process_before_allocation): Update.
commit2cb27767467ec98161fe21987c5686999b8bc875
authorPaul Brook <paul@codesourcery.com>
Thu, 1 Apr 2004 11:20:04 +0000 (1 11:20 +0000)
committerPaul Brook <paul@codesourcery.com>
Thu, 1 Apr 2004 11:20:04 +0000 (1 11:20 +0000)
treecb892961f19a904665e9e429b47f36a1af6ad88e
parent550ef7bfd184152c5894089e8e4a28276de21ad7
* bfd/bfd-in.h (bfd_elf32_arm_process_before_allocation): Update.
* bfd/elf32-arm.h (struct elf32_elf_section_map): New.
(struct _arm_elf_section_data): New.
(elf32_arm_section_data): Define.
(struct elf32_arm_link_hash_table): Add byteswap_code.
(elf32_arm_link_hash_table_create): Initialize byteswap_code.
(bfd_elf32_arm_process_before_allocation): Add byteswap_code.
(elf32_arm_post_process_headers): Set EF_ARM_BE8.
(elf32_arm_output_symbol_hook, elf32_arm_new_section_hook,
elf32_arm_compare_mapping, elf32_arm_write_section): New functions.
(bfd_elf32_new_section_hook, elf_backend_write_section,
elf_backend_link_output_symbol_hook): Define.
* ld/emultempl/armelf.em (byteswap_code): Add.
(arm_elf_before_allocation): Pass extra parameter.
(PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8.
(PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8.
* ld/emultempl/armelf_oabi.em: Pass extra parameter.
* ld/ld.texinfo: Document --be8.
bfd/ChangeLog
bfd/bfd-in.h
bfd/bfd-in2.h
bfd/elf32-arm.h
ld/ChangeLog
ld/emultempl/armelf.em
ld/emultempl/armelf_oabi.em
ld/ld.texinfo