* externalize a function
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 3061ae18227464eb0769b03c463f6e345f528416..17ec1b673836f15420911ba2f58c791e03bc6136 100644 (file)
@@ -1,3 +1,726 @@
+2001-04-25  Frank Ch. Eigler  <fche@redhat.com>
+
+       * bfd-in.h (bfd_cache_close): Declare newly exported function.
+       * bfd-in2.h: Regenerated.
+
+2001-04-24  Jakub Jelinek  <jakub@redhat.com>
+
+       * merge.c (struct sec_merge_hash_entry): Add alignment field.
+       (struct sec_merge_hash): Remove alignment_power.
+       (sec_merge_hash_newfunc): Clear alignment.
+       (sec_merge_hash_lookup): Pass alignment as argument.
+       Use hashp->root.next, not hashp->next to walk the hash chain.
+       If a string already in the hashtable does not have required
+       alignment, create a new hashtable entry.
+       (sec_merge_init): Remove alignment_power argument.
+       (sec_merge_add): Add alignment argument.
+       (sec_merge_emit): Alignment is now a per-entity thing, not per
+       section.
+       (_bfd_merge_section): Sanity check even non-SEC_STRINGS sections
+       for proper alignment.
+       Pass alignment information to sec_merge_add.
+
+2001-04-24  Christian Groessler  <cpg@aladdin.de>
+
+       * coff-z8k.c (extra_case): added handler for R_DISP7, R_CALLR
+       and R_REL16 reloc types; accept odd values for R_REL16 type
+
+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.
+
+2001-03-30  H.J. Lu  <hjl@gnu.org>
+
+       * efi-app-ia32.c (PEI_TARGET_SUBSYSTEM): Rename from ...
+       (PEI_DEFAULT_TARGET_SUBSYSTEM): This.
+
+2001-03-26  H.J. Lu  <hjl@gnu.org>
+
+       * elf32-gen.c (elf32_generic_link_add_symbols): New. Check
+       if there are any relocations for generic ELF.
+       (bfd_elf32_bfd_link_add_symbols): Defined to
+       elf32_generic_link_add_symbols.
+       * elf64-gen.c (elf64_generic_link_add_symbols): New. Check
+       if there are any relocations for generic ELF.
+       (bfd_elf64_bfd_link_add_symbols): Defined to
+       elf64_generic_link_add_symbols.
+
+2001-03-23  Nick Clifton  <nickc@redhat.com>
+
+       * Makefile.am (BUILD_CFILES): New variable: List of C source
+        files created in build directory.
+        (BUILD_HFILES): New variable: List of header files created in
+        build directory.
+        (POTFILES): Delete.
+        (po/POTFILES.in): Replace rule with empty entry.
+        (po/SRC-POTFILES.in): New rule: Create a list of source files
+        in the source directory.
+        (po/BLD-POTFILES.in): New rule: Create a list of source files
+        in the build directory.
+        (MOSTLYCLEAN): Do not delete source files created in build
+        directory.
+        * Makefile.in: Regenerate.
+        * configure.in: Insert SRC-POTFILES.in and BLD-POTFILES.in
+        into po/Makefile.
+        * configure: Regenerate.
+
+        * po/Make-in: Replace occurrences of POTFILES with SRC-POTFILES
+        and BLD_POTFILES.
+       Add .. to the search path when building bfd.pot.
+        Delete POTFILES when performing distclean.
+        Add comment describing why distclean is broken in maintainer mode.
+       * po/POTFILES.in: Delete.
+       * po/SRC-POTFILES.in: New file.
+       * po/BLD-POTFILES.in: New file.
+        * po/bfd.pot: Regenerate.
+
+2001-03-22  Hans-Peter Nilsson  <hp@axis.com>
+
+       * elf32-cris.c: Shlib and PIC support.  PCREL tweaks.
+       (elf_cris_discard_copies, elf_cris_adjust_gotplt_to_got,
+       elf_cris_try_fold_plt_to_got, elf_cris_link_hash_newfunc,
+       elf_cris_link_hash_table_create, elf_cris_adjust_dynamic_symbol,
+       elf_cris_size_dynamic_sections, elf_cris_finish_dynamic_symbol,
+       elf_cris_finish_dynamic_sections,elf_cris_hide_symbol): New
+       functions.
+       (cris_elf_howto_table) <R_CRIS_8_PCREL, R_CRIS_16_PCREL,
+       R_CRIS_32_PCREL>: Correct comments.  Set pcrel_offset to false.
+       <R_CRIS_COPY, R_CRIS_GLOB_DAT, R_CRIS_JUMP_SLOT, R_CRIS_RELATIVE,
+       R_CRIS_16_GOT, R_CRIS_32_GOT, R_CRIS_16_GOTPLT, R_CRIS_32_GOTPLT,
+       R_CRIS_32_GOTREL, R_CRIS_32_PLT_GOTREL, R_CRIS_32_PLT_PCREL>:
+       New HOWTO members for new relocs.
+       (cris_reloc_map): Map new relocs.
+       (ELF_DYNAMIC_INTERPRETER): Define.
+       (PLT_ENTRY_SIZE): Define.
+       (elf_cris_plt0_entry, elf_cris_plt_entry, elf_cris_pic_plt0_entry,
+       elf_cris_pic_plt_entry): New, PLT templates.
+       (struct elf_cris_pcrel_relocs_copied, struct
+       elf_cris_link_hash_entry, struct elf_cris_link_hash_table): New.
+       (elf_cris_link_hash_traverse, elf_cris_hash_table): Define.
+       (cris_final_link_relocate): Check that 16-bit GOT relocs have
+       positive values.  Adjust PCREL relocs to be relative to location
+       after relocation.
+       (cris_elf_relocate_section): Handle relocations to dynamic
+       objects.  Handle new relocations.  Call error handler when seeing
+       non-PIC relocation for read-only sections while generating shared
+       object.
+       (cris_elf_check_relocs): Set reference counts for GOT and PLT
+       entries.
+       (bfd_elf32_bfd_link_hash_table_create,
+       elf_backend_adjust_dynamic_symbol,
+       elf_backend_size_dynamic_sections,
+       elf_backend_finish_dynamic_symbol,
+       elf_backend_finish_dynamic_sections,
+       elf_backend_create_dynamic_sections, bfd_elf32_bfd_final_link,
+       elf_backend_hide_symbol, elf_backend_want_got_plt,
+       elf_backend_plt_readonly, elf_backend_want_plt_sym,
+       elf_backend_got_header_size, elf_backend_plt_header_size):
+       Define.
+
+       * reloc.c: (BFD_RELOC_CRIS_COPY, BFD_RELOC_CRIS_GLOB_DAT,
+       BFD_RELOC_CRIS_JUMP_SLOT, BFD_RELOC_CRIS_RELATIVE,
+       BFD_RELOC_CRIS_32_GOT, BFD_RELOC_CRIS_16_GOT,
+       BFD_RELOC_CRIS_32_GOTPLT, BFD_RELOC_CRIS_16_GOTPLT,
+       BFD_RELOC_CRIS_32_GOTREL, BFD_RELOC_CRIS_32_PLT_GOTREL,
+       BFD_RELOC_CRIS_32_PLT_PCREL): New relocs.
+       * bfd-in2.h, libbfd.h: Regenerate.
+
+2001-03-21  Diego Novillo  <dnovillo@redhat.com>
+
+       (_bfd_mips_elf_relocate_section): Give a better error message when
+       a relocation is not recognized.
+
+2001-03-21  Alan Modra  <alan@linuxcare.com.au>
+
+       * elf32-hppa.c (elf32_hppa_set_gp): Check sec->output_section
+       non-NULL before attempting to dereference.
+
+2001-03-20  H.J. Lu  <hjl@gnu.org>
+
+       * configure.in: Remove the redundent AC_ARG_PROGRAM.
+       * configure: Rebuild.
+
+2001-03-20  Andreas Schwab  <schwab@suse.de>
+
+       * elf32-m68k.c (elf_m68k_relocate_section): Don't need the
+       relocation value when resolving a reference from a debugging
+       section.
+
+2001-03-16  Scott Thomason  <SThomaso@hii.com>
+
+       * coff64-rs6000.c (xcoff64_swap_sym_out): Fix syntax errors.
+       (xcoff64_swap_sym_out): Fix syntax errors.
+
+2001-03-16  Richard Sandiford  <rsandifo@redhat.com>
+
+       * elf32-arm.h (elf32_arm_merge_private_bfd_data): Fix warning.
+
+2001-03-15  Alan Modra  <alan@linuxcare.com.au>
+
+       * elf32-hppa.c (elf32_hppa_link_hash_entry): Add maybe_pic_call.
+       (hppa_link_hash_newfunc): Init it.
+       (hppa_type_of_stub): Only use non-PIC to PIC call stub if caller
+       section appears to be non-PIC.
+       (final_link_relocate): Likewise.
+       (elf32_hppa_adjust_dynamic_symbol): Set maybe_pic_call for any
+       possible candidate function, and set pic_call for those that will
+       only have a .plt entry for the PIC call stub.
+       (hppa_handle_PIC_calls): Set maybe_pic_call.
+
+2001-03-12  DJ Delorie  <dj@redhat.com>
+
+       * elf32-sh.c (sh_elf_relocate_section): Only relocation
+       R_SH_DIR8WP* relocs if they're against external symbols, else
+       they're just for relaxing.  Validate the reloc values.
+
+2001-03-12  Stefan Geuken <mail@stefan-geuken.de>
+
+       * binary.c (bfd_external_binary_architecture): Declare.
+       (binary_object_p): If bfd_external_binary_architecture is defined,
+       set the architecture to this string.
+
+2001-03-11  Philip Blundell  <philb@gnu.org>
+
+       * elf32-arm.h (elf32_arm_finish_dynamic_symbol): Don't make PLT
+       entries that could serve as a definition for a weak symbol.
+
+2001-03-08  Nick Clifton  <nickc@redhat.com>
+
+       * 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
+       prior patch on ! defined OLD_ARM_ABI.
+
+2001-03-07  Andreas Jaeger  <aj@suse.de>
+
+       * elf64-x86-64.c (elf64_x86_64_relocate_section): Fix handling of
+       some relocation values.
+
+2001-03-06  Nick Clifton  <nickc@redhat.com>
+
+       * elf32-arm.h (elf32_arm_final_link_relocate): Clear bit zero
+       of offset in BLX(1) instruction.
+       * coff-arm.c (coff_arm_relocate_section): Clear bit zero of
+       offset in BLX(1) instruction.
+        Fix formatting.
+
+2001-03-06  Nick Clifton  <nickc@redhat.com>
+
+       * coff-arm.c (coff_arm_reloc_type_lookup): Add
+       BFD_RELOC_THUMB_PCREL_BLX.
+
+2001-03-06  Igor Shevlyakov  <igor@windriver.com>
+
+       * archures.c (bfd_default_scan): Add Coldfire CPUs.
+       * bfd-in2.h: Regenerate.
+       * cpu-m68k.c: Add Coldfire CPUs for arch table.
+       * ieee.c (ieee_write_processor): Set proper id for
+       Coldfire CPUs.
+
+2001-03-01  D.J. Barrow <djbarrow@de.ibm.com,barrow_dj@yahoo.com>
+
+       * configure.in: Add s390 target.
+       * configure: Regenerate.
+
+2001-02-28  Andreas Jaeger  <aj@suse.de>
+
+       * elf64-x86-64.c (elf64_x86_64_relocate_section): Add relocation
+       to addend.
+
+2001-02-28  Philip Blundell  <pb@futuretv.com>
+
+       * elf32-arm.h: Update mentions of renamed EF_xx constants.
+       (elf32_arm_print_private_bfd_data): Handle ARM EABI version 2.
+
+2001-02-27  H.J. Lu  <hjl@gnu.org>
+
+       * aoutx.h (NAME(aout,bfd_free_cached_info)): Return true if
+       abfd->tdata.aout_data == NULL.
+
+2001-02-27  Alan Modra  <alan@linuxcare.com.au>
+
+       * elf32-hppa.c: Correct field selector in stub comments.
+       (clobber_millicode_symbols): Formatting fix.
+
+       * configure.in: Bump version to 2.11.90.
+       * configure: Regenerate.
+       * Makefile.am (CFILES): Rename to SOURCE_CFILES.
+       (CFILES): $SOURCE_CFILES + generated C files.
+       (POTFILES): Include $HFILES not $SOURCE_HFILES.
+       Run "make dep-am"
+       * Makefile.in: Regenerate.
+       * doc/Makefile.in: This too.
+
+2001-02-26  Timothy Wall  <twall@cygnus.com>
+
+       * elfxx-ia64.c (elfNN_ia64_aix_add_symbol_hook): Remove obsolete
+       comments.
+
+2001-02-26  Nick Clifton <nickc@redhat.com>
+
+       * coffcode.h (styp_to_sec_flags) [COFF_WITH_PE version]: Tidy
+       up, replacing multiple if statements with a switch.
+        (handle_COMDAT): New function.
+
+2001-02-26  H.J. Lu  <hjl@gnu.org>
+
+       * coffcode.h (styp_to_sec_flags) [COFF_WITH_PE version]: Issue
+       a warning for section flags we do not handle instead of
+       aborting.
+
+2001-02-26  Andreas Jaeger  <aj@suse.de>
+
+       * elf64-x86-64.c (x86_64_elf_howto_table): Fix order of entries.
+
+2001-02-22  Timothy Wall  <twall@cygnus.com>
+
+       * config.bfd (targ_cpu): Add vectors for ia64-*-aix* (aka Monterey).
+       * configure.in: Add objects for elf64_ia64_aix vectors.
+       * configure: Regenerated.
+       * configure.host: Recognize ia64-*-aix*.
+       * elfxx-ia64.c: Add hooks for ELF64 on AIX5.  Define new vectors
+       for AIX.  AIX5 requires most relocations to be dynamic (*all*
+       binaries are somewhat similar to shared libraries).
+       * targets.c: Add elf64_ia64_aix vectors.
+
+2001-02-21  David Mosberger  <davidm@hpl.hp.com>
+
+       * cpu-ia64-opc.c (elf64_ia64_operands}: Fix typo: error string for
+       C8 said "1" instead of "8".  Clarify error string for IMM22:
+       "signed integer" instead of just "integer".
+
+2001-02-20  Andreas Jaeger  <aj@suse.de>
+
+       * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Don't make
+       PLT entries that could serve as a definition for a weak symbol.
+
+2001-02-19  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf32-sparc.c (elf32_sparc_finish_dynamic_symbol): Don't make PLT
+       entries that could serve as a definition for a weak symbol.
+       * elf64-sparc.c (sparc64_elf_finish_dynamic_symbol): Likewise.
+
+2001-02-18  David O'Brien  <obrien@FreeBSD>
+
+       * configure.in: Recognize FreeBSD/arm, FreeBSD/PowerPC, and treat
+       FreeBSD/i386-CURRENT differently until I can figure out the needed
+       corefile changes.
+       * configure: Regenerate.
+       * config.bfd: Recognize FreeBSD/x86-64, FreeBSD/ia64, FreeBSD/arm,
+       FreeBSD/PowerPC, and FreeBSD/sparc64.
+
+2001-02-18  lars brinkhoff  <lars@nocrew.org>
+
+       * Makefile.am: Add PDP-11 a.out target.
+       * config.bfd: Likewise.
+       * configure.in: Likewise.
+       * targets.c: Likewise.
+       * archures.c: Likewise.
+       * bfd-in2.h: Likewise.  Add PDP-11 relocations.
+       * libbfd.h: Add PDP-11 relocations.
+       * reloc.c: Likewise.
+       * cpu-pdp11.c: New file.
+       * pdp11.c: New file.
+
+       * libaout.h (GET_WORD) [ARCH_SIZE==16]: Define.
+       (GET_SWORD) [ARCH_SIZE==16]: Likewise.
+       (GET_SWORD) [ARCH_SIZE==16]: Likewise.
+       (PUT_WORD) [ARCH_SIZE==16]: Likewise.
+       (GET_MAGIC): New macro.
+       (PUT_MAGIC): Likewise.
+       * aout-target.h (MY(object_p)): Use GET_MAGIC to read magic word.
+
+2001-02-18  Jim Kingdon  <jkingdon@engr.sgi.com>
+
+       * irix-core.c (irix_core_core_file_p): Set the architecture (GDB
+       multiarch needs it).
+
+2001-02-18  H.J. Lu  <hjl@gnu.org>
+
+       * elflink.h (elf_link_input_bfd): Ignore invalid section symbol
+       index.
+
+2001-02-18  Kazu Hirata  <kazu@hxi.com>
+
+       * vms-misc.c: Fix formatting.
+
+2001-02-16  Kazu Hirata  <kazu@hxi.com>
+
+       * vms.c: Fix formatting.
+
+2001-02-14  H.J. Lu  <hjl@gnu.org>
+
+       * elf.c (elf_find_function): New function.
+       (_bfd_elf_find_nearest_line): Call elf_find_function () to find
+       the file name and function name.
+
+2001-02-14  Nick Clifton  <nickc@redhat.com>
+
+       * ecoff.c (bfd_debug_section): Update to initialise new fields in
+       asection structure.
+
+       * Makefile.am (BFD32_BACKENDS_CFILES): Remove peigen.c
+       (BFD64_BACKENDS): Add pepigen.c
+       Add rules to create peigen.c and pepigen.c from peXXigen.c.
+
+       * Makefile.in: Regenerate.
+       * configure:  Regenerate.
+       * po/POTFILES.in: Regenerate.
+       * po/bfd.pot: Regenerate.
+
+2001-02-14  H.J. Lu  <hjl@gnu.org>
+
+       * libcoff-in.h (pe_tdata): Add members target_subsystem and
+       force_minimum_alignment.
+
+2001-02-14  Bo Thorsen  <bo@suse.de>
+
+       * elf64-x86-64.c: Small formatting fixes and rearrangements of code.
+       (elf64_86_64_size_info): Struct added to fix a problem
+       with the hashtable string entries.
+       (elf64_x86_64_adjust_dynamic_symbol): Add generation of .got.plt.
+       (elf64_x86_64_size_dynamic_sections): A FIXME removed.
+       (elf64_x86_64_size_dynamic_sections): Fix a dynamic entry and
+       remove the FIXME for this.
+       (elf64_x86_64_adjust_dynamic_symbol): Fix check for unneeded .plt
+       section. Also removed the FIXME for it.
+       (x86_64_elf_howto_table): Use bfd_elf_generic_reloc.
+       (ELF_DYNAMIC_INTERPRETER): Fix the name of the dynamic linker.
+       (elf64_x86_64_finish_dynamic_sections): Enable .got.plt writing.
+
+2001-02-13  Richard Henderson  <rth@redhat.com>
+
+       * elfxx-ia64.c (elfNN_ia64_final_link): Set __gp if required
+       and not user provided.
+
+2001-02-13  Kazu Hirata  <kazu@hxi.com>
+
+       * vms.c (vms_print_symbol): Remove unreachable code.
+
+       * rs6000-core.c: Fix formatting.
+
+2001-02-13  David Mosberger  <davidm@hpl.hp.com>
+
+       * peicode.h (coff_swap_filehdr_out) [COFF_IMAGE_WITH_PE]: Define
+       as _bfd_XXi_only_swap_filehdr_out.
+       (pe_mkobject) [PEI_FORCE_MINIMUM_ALIGNMENT]: Set
+       pe->force_minimum_alignment to TRUE.
+       (pe_mkobject) [PEI_TARGET_SUBSYSTEM]: Set pe->target_subsystem to
+       PEI_TARGET_SUBSYSTEM.
+       (pe_print_private_bfd_data): Call
+       _bfd_XX_print_private_bfd_data_common() instead of
+       _bfd_pe_print_private_bfd_data_common().
+       (pe_bfd_copy_private_bfd_data): Call
+       _bfd_XX_bfd_copy_private_bfd_data_common() instead of
+       _bfd_pe_bfd_copy_private_bfd_data_common().
+       (coff_bfd_copy_private_section_data): Define as
+       _bfd_XX_bfd_copy_private_section_data instead of
+       _bfd_pe_bfd_copy_private_section_data.
+       (coff_get_symbol_info): Define as _bfd_XX_get_symbol_info instead
+       of a _bfd_pe_get_symbol_info.
+
+       * peigen.c: Delete.
+
+       * peXXigen.c: Renamed from peigen.c.
+       (COFF_WITH_XX): Define this macro (will get expanded into
+       COFF_WITH_pep or COFF_WITH_pe, depending on whether this is being
+       compiled as peigen.c or pepigen.c.
+       [COFF_WITH_pep]: Include "coff/ia64.h" instead of "coff/i386.h" to
+       define the canonical PEP structures and definitions.
+       (_bfd_XXi_swap_aouthdr_out): If pe->force_minimum_alignment is in
+       effect, enforce minimum file and section alignments.  If
+       extra->Subsystem is IMAGE_SUBSYSTEM_UNKNOWN, set it to
+       pe->target_subsystem (this defaults to IMAGE_SUBSYSTEM_UNKNOWN,
+       so, by default, this is a no-op).
+
+       * libpei.h: Rename COFF_WITH_PEP to COFF_WITH_pep.
+       (_bfd_XX_bfd_copy_private_bfd_data_common): Add macros to map
+       _bfd_XXfoo to _bfd_pepfoo if COFF_WIT_PEP is defined and to
+       _bfd_pefoo if it's not defined.  Use these macros to define
+       coff swap macros.
+
+       * libcoff.h (pe_tdata): Add members target_subsystem and
+       force_minimum_alignment.
+
+       * efi-app-ia64.c (COFF_WITH_pep): Rename COFF_WITH_PEP to
+       COFF_WITH_pep.
+       (PEI_TARGET_SUBSYSTEM): Rename from PEI_DEFAULT_TARGET_SUBSYSTEM.
+
+       * configure.in (bfd_efi_app_ia64_vec): Use pepigen.lo instead of
+       peigen.lo.
+
+       * coff-ia64.c: Rename COFF_WITH_PEP to COFF_WITH_pep.
+       (AOUTSZ): Rename PEP64AOUTSZ and PEP64AOUTHDR to PEPAOUTSZ and
+       PEPAOUTHDR.
+
+       * Makefile.in (BFD64_BACKENDS): Mention pepigen.lo.
+       (BFD64_BACKENDS_CFILES): Mention pepigen.c
+       (peigen.c): Add rule to generate from peXXigen.c.
+       (pepigen.c): Ditto.
+       (pepigen.lo): List dependencies for pepigen.lo.
+
+2001-02-13  Alan Modra  <alan@linuxcare.com.au>
+
+       * elf32-hppa.c (elf32_hppa_set_gp): Handle weak $global$.  If
+       $global$ referenced but not defined, set its value here.
+
+2001-02-09  Bo Thorsen  <bo@suse.de>
+
+       * elf64-x86-64.c (elf64_x86_64_check_relocs): Set .rela.got section
+       alignment to 3.
+       (elf64_x86_64_check_relocs): Write R_X86_64_GOTPCREL GOT entry
+       and relocation.
+       (elf64_x86_64_relocate_section): Fix formatting.
+       (elf64_x86_64_relocate_section): Fix addend for relocation of
+       R_X86_64_(8|16|32|PC8|PC16|PC32).
+
+2001-02-12  Jan Hubicka  <jh@suse.cz>
+
+       * elf64-x86-64.c (x86_64_elf_howto): Fix name of R_X86_64_GOTPCREL.
+
+2001-02-11  H.J. Lu  <hjl@gnu.org>
+
+       * elflink.h (elf_bfd_final_link): Use file_align for SYMTAB
+       alignment.
+
+2001-02-11  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
+
+       * elf32-mips.c (mips_elf_create_dynamic_relocation): Undo patch
+       from 2000-10-13.  Do not add the symbol's value for R_MIPS_REL32
+       relocations against dynsym symbols.
+
+       * elf32-mips.c (elf_mips_howto_table): Fix the comment on
+       the R_MIPS_26 relocation.
+       (mips_elf_calculate_relocation): Use (p + 4) instead of p for
+       the R_MIPS_26 relocation.
+       (mips_elf_perform_relocation): Fix the comment on the R_MIPS16_26
+       relocation.
+       * elf64-mips.c (mips_elf64_howto_table_rel): Fix the comment on
+       the R_MIPS_26 relocation.
+       (mips_elf64_howto_table_rela): Likewise.
+
+       * elf32-mips.c (struct mips_elf_link_hash_entry): Added no_fn_stub
+       member to mark symbols that have non-CALL relocations against
+       them.
+       (mips_elf_link_hash_newfunc): Initialize no_fn_stub.
+       (mips_elf_calculate_relocation): Handle R_MIPS_CALL16 like
+       R_MIPS_GOT16.
+       (_bfd_mips_elf_check_relocs): Set no_fn_stub for a symbol if a
+       non-CALL relocation against it is encountered.
+       (_bfd_mips_elf_copy_indirect_symbol): Merge no_fn_stub as well.
+       (_bfd_mips_elf_adjust_dynamic_symbol): Only create a stub if
+       no_fn_stub is not set.
+
+       * elf32-mips.c (mips_elf_output_extsym): Get the output section
+       information from the real symbol for indirect ones.
+       Check no_fn_stub to find out if a symbol has a function stub
+       indeed.
+
+2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
+       * Makefile.am (stamp-lib): ranlib the libbfd.a in the build directory.
+       * Makefile.in: Regenerate.
+
+2001-02-09  David Mosberger  <davidm@hpl.hp.com>
+
+       * elfxx-ia64.c (is_unwind_section_name): New function.  Returns
+       true if section name is an unwind table section name.
+       (elfNN_ia64_additional_program_headers): Count each unwind section
+       separately.
+       (elfNN_ia64_modify_segment_map): Install one unwind program header
+       for each unwind separate section.  Note: normally the linker
+       script merges the unwind sections that go into a single segment,
+       so this still generates at most one unwind program header per
+       segment.
+
+       * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Accept any section
+       name for SHT_IA_64_UNWIND, not just .IA_64.unwind.
+       (elfNN_ia64_fake_sections): Mark sections with names that start
+       with .IA_64.unwind but not with .IA_64.unwind_info as an IA-64
+       unwind section.
+
+       * elfxx-ia64.c (elfNN_ia64_final_write_processing): New function.
+       Use it to make sh_info in unwind section point to the text section
+       it applies to.
+
+2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * Makefile.am: Add linux target for S/390.
+       * archures.c: Likewise.
+       * bfd-in2.h: Likewise.
+       * config.bfd: Likewise.
+       * configure.in: Likewise.
+       * elf.c: Likewise.
+       * libbfd.h: Likewise.
+       * targets.c: Likewise.
+       * cpu-s390.c: New file.
+       * elf32-s390.c: New file.
+       * elf64-s390.c: New file.
+
+2001-02-09  Nick Clifton  <nickc@redhat.com>
+
+       * peigen.c (_bfd_pe_get_symbol_info): Suppress addition of
+       ImageBase.  This has already been done by coff_swap_hdr_in.
+
+2001-02-09  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf64-sparc.c (sparc64_elf_copy_private_bfd_data): New function.
+
+2001-02-09  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf64-sparc.c (sparc64_elf_check_relocs): Don't trust reloc_count.
+       (sparc64_elf_relocate_section): Likewise.
+
 2001-02-09  Mark Kettenis  <kettenis@gnu.org>
 
        * elf32-sparc.c (_bfd_sparc_elf_howto_table): Treat R_SPARC_UA32
        * libbfd-in.h (bfd_target_vector): Change extern array to pointer.
        * libbfd.h (bfd_target_vector): Likewise.
        * targets.c (bfd_target_vector): Rename to _bfd_target_vector and
-        make static; create pointer reference named bfd_target_vector.
+       make static; create pointer reference named bfd_target_vector.
        (_bfd_target_vector_entries): Calculate this based on the array
        typed _bfd_target_vector.
 
 
 2001-02-06  H.J. Lu  <hjl@gnu.org>
 
-       * bfd/peicode.h (coff_swap_filehdr_in): Remove the e_magic
+       * peicode.h (coff_swap_filehdr_in): Remove the e_magic
        checking.
        (pe_bfd_object_p): Rewrite with external_PEI_DOS_hdr and
        external_PEI_IMAGE_hdr.
        (_bfd_mips_elf_final_write_processing): Add cases for
        bfd_mach_mips5 and bfd_mach_mips64.
 
-       * bfd/aoutx.h (NAME(aout,machine_type)): Add a
+       * aoutx.h (NAME(aout,machine_type)): Add a
        bfd_mach_mips_sb1 case.
-       * bfd/archures.c (bfd_mach_mips_sb1): New constant.
-       * bfd/bfd-in2.h (bfd_mach_mips_sb1): New constant.
-       * bfd/cpu-mips.c (I_sb1): New constant.
+       * archures.c (bfd_mach_mips_sb1): New constant.
+       * bfd-in2.h (bfd_mach_mips_sb1): New constant.
+       * cpu-mips.c (I_sb1): New constant.
        (arch_info_struct): Add entry for bfd_mach_mips_sb1.
-       * bfd/elf32-mips.c (elf_mips_mach): Add case for
+       * elf32-mips.c (elf_mips_mach): Add case for
        E_MIPS_MACH_SB1.
        (_bfd_mips_elf_final_write_processing): Add case for
        bfd_mach_mips_sb1.
 
 2000-09-15  Kenneth Block  <Kenneth.Block@compaq.com>
 
-       * bfd/elf64-alpha.c (elf64_alpha_relax_with_lituse): ld performs
+       * elf64-alpha.c (elf64_alpha_relax_with_lituse): ld performs
        LITUSE relocations incorrectly if -relax is specified on the ld
        command line and the displacement field of the load or store
        instruction is non-zero. (Patch by paul.winalski@compaq.com)
 
        * section.c (SEC_HAS_GOT_REF): Define new flag for asection.
        (bfd_get_unique_section_name): New function.
-       * bfd_in2.h: Regenerate.
+       * bfd-in2.h: Regenerate.
 
        * elf64-hppa.c (elf64_hppa_check_relocs): Handle R_PARISC_PCREL12F.
        (elf64_hppa_size_dynamic_sections): Remove the FIXME at bfd_zalloc
 
 2000-08-05  Jason Eckhardt  <jle@cygnus.com>
 
-       * elf32-i860 (elf32_i860_howto_table): New structure.
+       * elf32-i860.c (elf32_i860_howto_table): New structure.
        (lookup_howto): New function.
        (elf32_i860_reloc_type_lookup): New function.
        (elf32_i860_info_to_howto_rela): New function.
        * trad-core.c: From hpux-core.c, include <dirent.h> or
        <sys/ndir.h> when possible.
 
-2000-05-31  Nick Clifton  <nickc@cygnus.com>
-
-       * opintl.h (_(String)): Explain why dgettext is used instead
-       of gettext.
-
 2000-05-31  Ulrich Drepper  <drepper@redhat.com>
 
        * elf.c (_bfd_elf_slurp_version_tables): Correct reading of version
 
 2000-05-03  Mark Elbrecht  <snowball3@bigfoot.com>
 
-       * bfd/coff-go32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Add entry for
+       * coff-go32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Add entry for
        the .bss section.
-       * bfd/coff-stgo32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise.
+       * coff-stgo32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise.
 
 2000-05-02  H.J. Lu  <hjl@gnu.org>
 
This page took 0.032611 seconds and 4 git commands to generate.