diff options
author | Jeff Law <law@redhat.com> | 1997-02-21 07:14:30 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1997-02-21 07:14:30 +0000 |
commit | fd39566111c9527612479c598cd23f3f6d7c0280 (patch) | |
tree | 06625575f01d8d4e3f76b1681afa9394c3884a72 /bfd/ChangeLog | |
parent | 48242b28d6862bc912a85499a8d0928098b59695 (diff) | |
download | gdb-fd39566111c9527612479c598cd23f3f6d7c0280.zip gdb-fd39566111c9527612479c598cd23f3f6d7c0280.tar.gz gdb-fd39566111c9527612479c598cd23f3f6d7c0280.tar.bz2 |
* elf32-mn10200.c (mn10200_elf_relax_section): New function.
(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.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 4266562..f3a6d2f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,4 +1,11 @@ -Thu Feb 20 13:52:16 1997 Jeffrey A Law (law@cygnus.com) +Thu Feb 20 23:50:31 1997 Jeffrey A Law (law@cygnus.com) + + * elf32-mn10200.c (mn10200_elf_relax_section): New function. + (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. * elf32-mn10200.c (mn10200_elf_final_link_relocate): New function. (mn10200_elf_relocate_section): Likewise. |