Add OpenRISC support
[external/binutils.git] / bfd / ChangeLog
index 907cdc3..098b95f 100644 (file)
@@ -1,3 +1,150 @@
+2001-04-24  Johan Rydberg  <jrydberg@opencores.org>
+
+       * cpu-openrisc.c: New file.
+       * elf32-openrisc.c: Likewise.
+
+       * Makefile.am (ALL_MACHINES): Add cpu-openrisc.lo.
+       (ALL_MACHINES_CFILES): Add cpu-openrisc.c.
+       (BFD32_BACKENDS): Add elf32-openrisc.lo.
+       (BFD32_BACKENDS_CFILES): Add elf32-openrisc.c.
+       (cpu-openrisc.lo, elf32-openrisc.lo): New rules.
+       * Makefile.in: Regenerated.
+       * config.bfd: (openrisc-*-elf): New target.
+       * configure.in (bfd_elf32_openrisc_vec): New vector. 
+       * configure: Regenerated.
+       * libbfd.h: Regenerated.
+       * bfd-in2.h: Regenerated.
+       * reloc.c: Add OpenRISC relocations.
+       * targets.c (bfd_elf32_openrisc_vec): Declare. 
+       (bfd_target_vect): Add bfd_elf32_openrisc_vec.
+       * archures.c (enum bfd_architecture): Add bfd_arch_openrisc.
+       (bfd_openrisc_arch): Declare.
+       (bfd_archures_list): Add bfd_openrisc_arch.
+       * elf.c (prep_headers): Add bfd_arch_openrisc.
+
+2001-04-23  Bo Thorsen  <bo@suse.de>
+
+       * elf64-x86-64.c: Add c++ vtable hack.
+       Small whitespace and comment changes.
+
+2001-04-19  Andreas Jaeger  <aj@suse.de>
+
+       * elf64-x86-64.c (elf64_x86_64_plt0_entry): Fix instructions.
+       (elf64_x86_64_plt_entry): Likewise.
+       (elf64_x86_64_finish_dynamic_sections): Fix PLT0 generation.
+       (elf64_x86_64_finish_dynamic_symbol): Fix PLT generation.
+
+2001-04-17  Hans-Peter Nilsson  <hp@axis.com>
+
+       * elf32-cris.c: Tweak comments related to dynamic linking.
+       (cris_elf_relocate_section): When not creating shared object, fill
+       in the .got table for any symbol not in the dynamic symbol table.
+       (elf_cris_finish_dynamic_symbol): When not creating shared object,
+       only emit a .got.rela reloc if the symbol is in the dynamic symbol
+       table.
+       (cris_elf_check_relocs): Use variable r_type in all places rather
+       than the original expression.  Add default case in switch for
+       reloc types.
+       (elf_cris_size_dynamic_sections): Iterate over
+       elf_cris_discard_excess_program_dynamics when not creating shared
+       library.
+       (elf_cris_discard_excess_dso_dynamics): Renamed from
+       elf_cris_discard_copies.  Correct typo, s/Rel/Rela/.
+       (elf_cris_discard_excess_program_dynamics): New.
+
+2001-04-14  Mark Elbrecht  <snowball3@bigfoot.com>
+
+       * coffcode.h (coff_write_object_contents): Use
+       bfd_coff_swap_filehdr_out instead of coff_swap_filehdr_out.
+
+2001-04-14  H.J. Lu  <hjl@gnu.org>
+
+       * bfd-in2.h: Regenerate.
+
+2001-04-14  Jakub Jelinek <jakub@redhat.com>
+
+       * section.c (STD_SECTION): Add entsize.
+
+2001-04-13  H.J. Lu  <hjl@gnu.org>
+
+       * section.c (SEC_MERGE): Define new flag for merging.
+       (SEC_STRINGS): Likewise.
+       (entsize): New field.
+
+2001-04-13  Roger Sayle  <roger@metaphorics.com>
+
+       * coff-i386.c (TARGET_SYM): SEC_READONLY is an applicable section
+       flag on pe-i386 targets.
+
+2001-04-13  Jakub Jelinek  <jakub@redhat.com>
+
+       * libbfd-in.h (_bfd_merge_section): New.
+       (_bfd_write_merged_section): New.
+       (_bfd_merged_section_offset): New.
+       * libbfd.h: Rebuilt.
+       * linker.c (_bfd_generic_link_output_symbols): Handle
+       discard_sec_merge.
+       * aoutx.h (aout_link_write_symbols): Likewise.
+       * pdp11.c (aout_link_write_symbols): Likewise.
+       * elflink.h (elf_link_add_object_symbols): Call _bfd_merge_section.
+       (elf_bfd_final_link): Adjust global symbols pointing into SEC_MERGE
+       sections.
+       (elf_link_sec_merge_syms): New.
+       (elf_link_input_bfd): Call _bfd_merged_section_offset
+       and _bfd_write_merged_section.
+       Handle discard_sec_merge.
+       * elf-bfd.h (struct elf_link_hash_table): Add merge_info
+       field.
+       (struct bfd_elf_section_data): Likewise.
+       * elf.c (_bfd_elf_make_section_from_shdr): Set SEC_MERGE and
+       SEC_STRINGS section flags and entsize from their ELF counterparts.
+       (_bfd_elf_link_hash_table_init): Initialize merge_info.
+       (elf_fake_sections): Set SHF_MERGE, SHF_STRINGS and sh_entsize
+       from their BFD counterparts.
+       * merge.c: New file.
+       * Makefile.am: Add strtab.lo.
+       * Makefile.in: Rebuilt.
+
+2001-04-09  Hans-Peter Nilsson  <hp@axis.com>
+
+       * elflink.h (elf_fix_symbol_flags): For non-default visibilities,
+       only hide symbols marked STV_INTERNAL or STV_HIDDEN.
+
+2001-04-05  Steven J. Hill  <sjhill@cotw.com>
+
+       * config.bfd (mips*el*-*-linux-gnu*): Use traditional little
+       endian MIPS ELF target.
+       * config.bfd (mips*-*-linux-gnu*): Use traditional big endian
+       MIPS ELF target.
+
+       * configure.in (bfd_elf64_tradbigmips_vec): New. Traditional
+       64bit big endian MIPS ELF target.
+       (bfd_elf64_tradlittlemips_vec): New. Traditional 64bit little
+       endian MIPS ELF target.
+       * configure: Regenerated.
+
+       * elf32-mips.c (IRIX_COMPAT): Handle traditional 64bit and
+       little endian targets.
+       (mips_elf_sym_is_global): Handle traditional targets.
+
+       * elf64-mips.c (bfd_elf64_tradbigmips_vec): New. Traditional
+       64bit big endian MIPS ELF target.
+       (bfd_elf64_tradlittlemips_vec): New. Traditional 64bit little
+       endian MIPS ELF target.
+
+       * targets.c: (_bfd_target_vector): Add bfd_elf64_tradbigmips_vec
+       and bfd_elf64_tradlittlemips_vec.
+
+2001-04-05  David Mosberger  <davidm@hpl.hp.com>
+
+       * elf32-i386.c (elf_i386_fake_sections): Treat ".reloc" as an
+       ordinary "progbits" section.
+
+2001-04-04  Alan Modra  <alan@linuxcare.com.au>
+
+       * elflink.h (elf_fix_symbol_flags): Call elf_backend_hide_symbol
+       when -Bsymbolic causes a symbol to no longer need a .plt entry.
+
 2001-04-03  David Mosberger  <davidm@hpl.hp.com>
 
        * efi-app-ia32.c (ALIGN_SECTIONS_IN_FILE): Deleted.
 
        * Most files: Update copyright notices using Perl script created
        by Kevin Buettner <kevinb@redhat.com>.
-       
+
 2001-03-07  Nick Clifton  <nickc@redhat.com>
 
        * elf32-arm.h (elf32_arm_final_link_relocate): Conditionalise