Commit Graph

9 Commits

Author SHA1 Message Date
Jeff Law 88ac1a5e13 * elf-m10300.c (mn10300_elf_relax_section): Do not relax "dmul",
"dmulu", "dmach", "dmachu" with 32bit operands.
1998-07-24 17:49:08 +00:00
Jeff Law 06992a452a * elf-m10300.c (mn10300_elf_howto): Add R_MN10300_24 entry.
(mn10300_elf_reloc_map): Similarly.
        (mn10300_elf_final_link_relocate): Handle R_MN10300_24.
        (mn10300_elf_relax_section): Support relaxing on the am33.
1998-07-24 17:26:51 +00:00
Jeff Law 91b9fccdf0 * elf-m10300.c (compute_function_info): Keep track of stack space
needed by am33 movm instruction variant.
1998-07-23 17:41:00 +00:00
Jeff Law d5394da7ec * Re-add lost change:
* elf-m10300.c (elf32_mn10300_link_hash_entry): Add new field
        "movm_stack_size".
        (mn10300_elf_relax_section): Include stack space for register saves
        in the imm8 field of a "call" instruction.
        (compute_function_info): Determine how much stack is allocated by
        the movm instruction.  Fix typo.
        (elf32_mn10300_link_hash_newfunc): Initialize movm_stack_size.
1998-07-23 17:30:54 +00:00
Ulrich Drepper 30483570cf Let ELF header now define the macros to get the enum. 1998-07-22 21:59:00 +00:00
Ulrich Drepper 767af63c2c Before include system specific ELF header define
START_RELOC_NUMBERS, RELOC_NUMBER, and END_RELOC_NUMBERS.
1998-07-22 20:11:16 +00:00
Richard Henderson 303b4cc64f ELF Section-level Garbage Collection. 1998-06-30 10:02:22 +00:00
Jeff Law 4db4e912e1 * archures.c (bfd_mach_mn10300): Define.
* elf-m10300.c: Include elf/mn10300.h
        (elf_mn10300_mach): New function.
        (_bfd_mn10300_elf_final_write_processing): Likewise.
        (_bfd_mn10300_elf_object_p): Likewise.
        (elf_backendfinal_write_processing): Define.
        (elf_backend_object_p): Likewise.
start-sanitize-am33
        * archures.c (bfd_mach_am33): Define.
        * cpu-m10300.c (bfd_am33_arch): New arch info structure.  Link it
        into the NEXT field of bfd_mn10300_arch.
end-sanitize-am33
1998-06-26 16:59:08 +00:00
Jeff Law a01362cc63 * elf-m10300.c (bfd_elf32_mn10300_reloc): Remove prototype
for non-existent function.
Just something I noticed.

        * elf-m10300.c (mn10300_elf_relax_section): New function.
        (mn10300_elf_relax_delete_bytes): Likewise.
        (mn10300_elf_symbol_address_p): Likewise.
        (mn10300_elf_get_relocated_section_contents): Likewise.
        (bfd_elf32_bfd_relax_section): Define.
        (bfd_elf32_bfd_get_relocated_section_contents): Likewise.
Basic relaxing linker.
1997-04-08 06:08:29 +00:00