aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-mn10200.c
AgeCommit message (Collapse)AuthorFilesLines
1997-02-24Update some comments to reflect current reality.Jeff Law1-5/+5
1997-02-21 * elf32-mn10200.c (mn10200_elf_final_link_relocate): SimplifyJeff Law1-16/+272
somewhat. (mn10200_elf_relax_section): Correctly compute a symbol's value when the symbol is local, but not in the same section as we are relaxing. Implement abs24 -> abs16, imm24 -> imm16 and d24 -> d16 relaxing. Another 1.3% size reduction for hello world. Only relaxing left todo is imm16 -> imm8 and d16 -> d8 where applicable.
1997-02-21Twiddle some comments to more accurately reflect reality.Jeff Law1-3/+6
1997-02-21Remove debugging printf.Jeff Law1-1/+0
1997-02-21 * elf32-mn10200.c (mn10200_elf_relax_section): New function.Jeff Law1-2/+772
(mn10200_elf_relax_delete_bytes): Likewise. (mn10200_elf_symbol_address_p): Likewise. (mn10200_elf_get_relocated_section_contents): Likewise. (bfd_elf32_bfd_relax_section): Define. (bfd_elf32_bfd_get_relocated_section_contents): Likewise. First cut at relaxing linker for the mn10200: jsr:24 -> jsr:16 jmp:24 -> jmp:16 jmp:16 -> bra:8 bCC .+4;bra:8 -> bCC':8 Reduces code size by about 2.5% for hello world.
1997-02-20 * elf32-mn10200.c (mn10200_elf_final_link_relocate): New function.Jeff Law1-0/+270
(mn10200_elf_relocate_section): Likewise. (elf_backend_relocate_section): Define. New style linker for the mn10200.
1997-01-29 * elf32-mn10200.c (reloc_type): Add 16bit pc-relative reloc.Jeff Law1-0/+16
(elf_mn10200_howto_table): Likewise. (mn10200_reloc_map): Likewise. How did I miss the 16bit pc-relative relocs?!?
1997-01-06 * elf32-mn10200.c (elf_mn10200_howto): Don't ever set partial-inplace.Jeff Law1-103/+4
Use bfd_elf_generic_reloc as special function for all relocs. (bfd_elf32_mn10200_reloc): Remove unnecessary function. Working on relocs for the mn10200.
1997-01-06 * elf32-mn10200.c (elf_mn10200_howto): Set partial_inplace forJeff Law1-1/+1
24bit pc-relative reloc.
1997-01-04 * reloc.c: Add BFD_RELOC_24.Jeff Law1-70/+26
* elf32-mn10200.c (enum reloc_type): Add 24bit and pcrel relocs. (elf_mn10200_howto, mn10200_reloc_map): Corresponding changes. * bfd-in2.h, libbfd.h: Rebuilt. Starting on relocs for the mn10200.
1996-12-18 * elf32-mn10200.c (enum reloc_type): Enable basic 8, 16, andJeff Law1-33/+3
32 bit relocs. (elf_mn10200_howto_table): Likewise. (mn10200_reloc_map): Likewise. To keep the assembler quiet.
1996-12-11 * elf32-mn10300.c (reloc_type): Remove big endian mn10300 relocJeff Law1-11/+284
variants. (elf32_mn10300_howto_table, mn10300_reloc_map): Likewise. (bfd_elf32_mn10300_reloc): Write data in little endian format. * reloc.c: Remove mn10300 big endian relocs. * bfd-in2.h, libbfd.h: Rebuilt. * elf32-mn10200.c: Update from elf32-mn10300.c.
1996-10-03Grrr. The mn10200 and mn10300 are _not_ similar enough to easily supportJeff Law1-0/+111
with a single generic configuration. So break them up into two different configurations. See the individual ChangeLogs for additional detail.