XCOFF64 fixes. For setting arch/mach and for R_BR relocations.
[deliverable/binutils-gdb.git] / ld / ChangeLog
index e279022728cad8c20308c2ab6e51d9c946d3f0f2..a38bd69d8452da3d40df5e25e1fb72421c271893 100644 (file)
@@ -1,3 +1,271 @@
+2002-05-10  Tom Rix  <trix@redhat.com>
+
+       * emultempl/aix.em: (gld*_set_output_arch): New function. Use 
+       architecture and machine information in the output bfd.
+       (gld*_before_parse): Remove old arch and machine code.
+       (choose_target): Rename to gld*_choose_target.
+       (rtld): Change type to int. 
+       * ldfile.c (ldfile_try_open_bfd): Disable compatiblity check for 
+       objects in XCOFF archives.
+       * ldfile.h: Update copyright date.
+
+2002-05-10  Jakub Jelinek  <jakub@redhat.com>
+
+       * ldmain.c (main): Enable -z combreloc by default.
+
+2002-05-07  Federico G. Schwindt <fgsch@olimpo.com.br>
+
+       * Makefile.am: Honour DESTDIR.
+       * Makefile.in: Regenerate.
+
+2002-05-07  Richard Sandiford  <rsandifo@redhat.com>
+
+       * ldlang.h (lang_output_section_statement_type): Add update_dot_tree.
+       (lang_enter_overlay): Remove the last two parameters.
+       (lang_leave_overlay): Take them here instead.
+       * ldgram.y (memspec_at_opt): Set $$ to null if no region is given.
+       (section): Pass LMA and crossref flag to lang_leave_overlay rather
+       than lang_enter_overlay.
+       * ldlang.c (lang_memory_region_lookup): Return null for null names.
+       (lang_output_section_statement_lookup): Initialize update_dot_tree.
+       (lang_size_sections_1): Evaluate it.
+       (lang_leave_output_section_statement): Rework LMA lookup.
+       (overlay_lma, overlay_nocrossrefs): Remove.
+       (lang_enter_overlay): Remove LMA and corssref arguments.
+       (lang_enter_overlay_section): Don't set the LMA here.
+       (lang_leave_overlay): Take LMA and crossref arguments.  Move the '.'
+       assignment to the last section's update_dot_tree.  Unconditionally
+       use the load and run-time regions specified in the OVERLAY statement.
+       Likewise the first section's LMA.  Only set the other sections' LMAs
+       when no load region is given.
+
+2002-05-06  Nick Clifton <nickc@redhat.com>
+
+       * po/sv.po: New translation.
+
+2002-05-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/hppaelf.em (build_section_lists): New function.
+       (gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists
+       and build_section_lists.
+
+2002-05-03  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * ld.h: Fix formatting.
+       * ldexp.c: Likewise.
+       * ldfile.c: Likewise.
+       * ldlang.c: Likewise.
+       * ldmain.c: Likewise.
+       * lexsup.c: Likewise.
+       * pe-dll.c: Likewise.
+
+2002-05-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
+       Adjust for ppc64_elf_set_toc change.  #include libbfd.h.
+       (build_section_lists): Do output_section tests here.
+
+2002-04-30  Tom Rix  <trix@redhat.com>
+
+       * emultempl/aix.em : (gld*_parse_arge): Formatting changes.
+
+2002-05-01  Alan Modra  <amodra@bigpond.net.au>
+
+       Long branch stubs, multiple stub sections.
+       * emultempl/ppc64elf.em: Include ldctor.h.
+       (stub_file): New var.
+       (group_size): New var.
+       (ppc_create_output_section_statements): New function.
+       (struct hook_stub_info): New.
+       (hook_in_stub): New function.
+       (ppc_add_stub_section): New function.
+       (ppc_layout_sections_again): New function.
+       (build_section_lists): New function.
+       (gld${EMULATION_NAME}_finish): Rewrite.
+       (real_func): New var.
+       (ppc_for_each_input_file_wrapper): New function.
+       (ppc_lang_for_each_input_file): New function.
+       (lang_for_each_input_file): Define.
+       (PARSE_AND_LIST_PROLOGUE): Define.
+       (PARSE_AND_LIST_LONGOPTS): Define.
+       (PARSE_AND_LIST_OPTIONS): Define.
+       (PARSE_AND_LIST_ARGS_CASES): Define.
+       (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
+
+2002-04-30  Tom Rix  <trix@redhat.com>
+
+       * emultempl/aix.em (gld*_parse_arge, gld*_before_allocation): Add 
+       -blibpath, -bnolibpath support. 
+2002-04-30  Mark Mitchell  <mark@codesourcery.com>
+
+       * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o.
+       (eelf32ppcwindiss.c): New target.
+       * Makefile.in: Regenerated.
+       * configure.tgt: Add support for powerpc-*-windiss.
+       * emulparams/elf32ppcwindiss.sh: New file.
+       
+2002-04-30  Richard Sandiford  <rsandifo@redhat.com>
+
+       * ldlang.c (print_assignment): Update print_dot for assignments to ".".
+       * ldexp.c (exp_print_token): Add "infix_p" argument.
+       (exp_print_tree): Update accordingly.
+
+2002-04-28  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files.
+       * Makefile.in: Regenerate.
+       * mpw-elfmips.c: Delete.
+       * mpw-eppcmac.c: Delete.
+       * mpw-esh.c: Delete.
+       * mpw-idtmips.c: Delete.
+
+Wed Apr 17 19:23:14 2002  J"orn Rennecke <joern.rennecke@superh.com>
+
+       * emulparams/shelf32.sh (MACHINE): Now sh5.
+
+2002-04-17  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * ldgram.y: Fix syntax warning.
+
+2002-04-11  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Add 'n' in order
+       to prevent "-n" from being taken as an abbreviation for
+       "--no-pipeline-knowledge".
+
+2002-04-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (lang_size_sections_1): Don't complain about
+       SEC_NEVER_LOAD sections having no memory region specified.
+
+       * ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix.
+
+2002-04-07  matthew green  <mrg@redhat.com>
+
+       * ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF.
+
+2002-04-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * dep-in.sed: Cope with absolute paths.
+       * Makefile.am (dep.sed): Subst TOPDIR and BFDDIR.
+       Run "make dep-am".
+       * Makefile.in: Regenerate.
+
+2002-04-04  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.
+
+2002-04-03  Jakub Jelinek  <jakub@redhat.com>
+
+       * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
+       is smaller than maximum, round dot up to common page boundary.
+
+2002-03-28  Alan Modra  <amodra@bigpond.net.au>
+
+       * configure.host: Set up for generic hosts first, then tweak as
+       necessary in more specific targets.
+       (HOSTING_LIBS): Include libgcc_eh.a if found.
+
+2002-03-23  Andreas Jaeger  <aj@suse.de>
+
+       * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.
+
+2002-03-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+
+2002-03-21  Albert Chin-A-Young  <china@thewrittenword.com>
+
+       * genscripts.sh (LIB_SEARCH_DIRS): Quote path.
+
+2002-03-20  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (ldlang_add_undef): If the output bfd has been opened,
+       add the symbol to the linker hash table immediately.
+       (lang_place_undefineds): Split symbol creation out..
+       (insert_undefined): ..to here.
+
+2002-03-18  David O'Brien  <obrien@FreeBSD.org>
+
+       * emultempl/elf32.em: Use lbasename vs. basename to fix problem where
+       the contents of the buffer returned from basename function will are
+       getting overwritten while still being used.
+
+Mon Mar 18 17:38:39 CET 2002  Jan Hubicka  <jh@suse.cz>
+                             Andreas Jaeger  <aj@suse.de>
+                             Andreas Schwab  <schwab@suse.de>
+
+       * configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native.
+       * elf_x86_64.sh (ARCH): Set to i386:x86-64
+       set libraries to default to lib64 paths.
+
+2002-03-18  Tom Rix  <trix@redhat.com>
+
+       * Makefile.am : Add eaix5ppc and eaix5rs6, AIX 5 support.
+       * configure.tgt : Same.
+       * emulparms/aix5ppc.sh : New file. For eaix5ppc.
+       * emulparms/aix5rs6.sh : New file. For eaix5rs6.
+       * emulparms/aixppc.sh : OUPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT
+       emulation parameters for better -b32, -b64 support.
+       * emulparms/aixrs6.sh : Same.
+       * emulparms/ppcmacos.sh : Same.
+       * emultempl/aix.em (choose_target) : Use new emulation parameters
+       OUTPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT.
+       * Makefile.in : Regenerate.
+
+2002-03-18  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * po/fr.po: Updated version.
+
+2002-03-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldmain.c (main): Move .text readonly flag fudges from here..
+       * ldlang.c (lang_process): ..to here.
+
+2002-03-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (lang_check): Remove the word size check added in last
+       change.  Treat emitrelocations case as for relocatable links.
+
+2002-03-13  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * po/fr.po: Updated version.
+
+2002-03-13  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (lang_check): Do relocatable link checks first, so that
+       warn_mismatch can't override.  Check compatible and word size too.
+
+2002-03-07  Daniel Jacobowitz  <drow@mvista.com>
+
+       * ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo.
+
+2002-03-05  Jakub Jelinek  <jakub@redhat.com>
+
+       * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with
+       DATA_SEGMENT_ALIGN.
+
+2002-03-04  H.J. Lu <hjl@gnu.org>
+
+       * scripttempl/elf.sc: Put .preinit_array, .init_array and
+       .fini_array in the data segment.
+
+2002-03-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.
+
+2002-03-01  David Mosberger  <davidm@hpl.hp.com>
+
+       * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,
+       .init_array, and .fini_array.
+
+2002-02-20  Andreas Schwab  <schwab@suse.de>
+
+       * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold
+       .IA64_unwind* in a relocatable link.
+
 2002-02-20  Nick Clifton  <nickc@cambridge.redhat.com>
 
        * NEWS: Mark 2.12 branch.
 
        * emultempl/aix.em (gld*_parse_args): Add -brtl support.
        (gld*_before_allocation): Same.
-       (gld*_create_output_section_statements): Generate 
+       (gld*_create_output_section_statements): Generate
        __rtinit if run time linking.  Add librtl.a to the link.
        (gld*_read_file): Clean.
 
 
 2002-02-15  Richard Henderson  <rth@redhat.com>
 
-        * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
+       * emulparams/elf64alpha.sh (NOP): Adjust for big-endian
        definition.  Emit a unop+nop pair.
 
 2002-02-15  Hans-Peter Nilsson  <hp@bitrange.com>
This page took 0.026374 seconds and 4 git commands to generate.