X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=ld%2FChangeLog;h=b2c5299bff1ff1396ffbfe3bb2b7d26b4245848b;hb=c45021f2d2dffbe6b87f7d9f0ce5d0cc9038a37c;hp=17974d873b7dde6b57665f02b066c3da5ce221a5;hpb=b92473047e3f3148974325dd7537726749eae45a;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/ChangeLog b/ld/ChangeLog index 17974d873b..b2c5299bff 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,514 @@ +2001-06-18 H.J. Lu + + * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'. + (diststuff): Add $(MANS). + * Makefile.in: Regenerated. + + * ld.1: Removed. + +2001-06-18 Hans-Peter Nilsson + + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): + Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections. + * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto. + * ld.h (args_type): Remove member export_dynamic. All users + changed to use struct bfd_link_info member. + + * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on + $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em. + * Makefile.in: Regenerate. + +2001-06-18 H.J. Lu + + * ldlang.c (init_os): Add the newline to the einfo call. + (lang_check): Likewise. + (lang_do_version_exports_section): Likewise. + +2001-06-15 H.J. Lu + + * lexsup.c (parse_args); Save optind to report unrecognized + option. + +2001-06-15 Hans-Peter Nilsson + + * ldlang.c (lang_check): Emit fatal error if relocatable link + between different object flavours. + + * lexsup.c (parse_args) : + Set new link_info member export_dynamic. + * ldmain.c (main): Initialize new link_info member export_dynamic. + +2001-06-12 Nick Clifton + + * ldlang.c (walk_wild): Only call walk_wild_file if + lookup_name returns something. + (lookup_name): If load_symbols fails, return NULL. + (load_symbols): Chnage to a boolean function. + (open_input_bfds): If load_symbols fails then do not make the + executable. + +2001-06-08 Alan Modra + + * ldlang.c (record_bfd_errors): Remove. + + * emultempl/aix.em: Fix copyright dates. + +2001-06-07 Andreas Jaeger + + * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase. + (TEXT_START_ADDR): Likewise. + +2001-06-06 Martin Schwidefsky + + * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390. + +2001-06-05 Danny Smith + + * emultempl/pe.em (init): Reduce default stack reserve to 0x200000. + +2001-05-31 H.J. Lu + + * ldlang.c (open_input_bfds): Don't change the bfd error + handler whilst loading symbols. + +2001-05-28 Nick Clifton + + * configure.tgt: Remove i370-mvs architecture, it is not currently + supported. + +2001-05-25 H.J. Lu + + * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK + like emulparams/aixppc.sh. + +2001-05-25 H.J. Lu + + * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move + setting of output_filename after bfd_scan_arch. + * emultempl/pe.em: Likewise. + +2001-05-25 H.J. Lu + + * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK + like emulparams/aixppc.sh. + + * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed + instead of ${srcdir}/emultempl/stringify.sed. + +2001-05-25 Timothy Wall + + * emulparams/elf64_aix.sh: Change settings to match IBM linker + output. + +2001-05-25 Alan Modra + + * configure.host: Replace linuxoldld with linux*oldld. + * configure.tgt: Likewise. + +2001-05-24 H.J. Lu + + * emultempl/stringify.sed: Removed again. + +2001-05-24 H.J. Lu + + * emultempl/aix.em (OUTPUT_ARCH): Defined. + (gld${EMULATION_NAME}_before_parse): Initialize + ldfile_output_architecture, ldfile_output_machine and + ldfile_output_machine_name from ${OUTPUT_ARCH} if possible. + * emultempl/beos.em: Likewise. + * emultempl/elf32.em: Likewise. + * emultempl/linux.em: Likewise. + * emultempl/mipsecoff.em: Likewise. + * emultempl/pe.em: Likewise. + * emultempl/sunos.em: Likewise. + +2001-05-24 Tom Rix + + * emultempl/aix.em : (gld${EMULATION_NAME}_read_file) + udate import file format. + (change_symbol_mode) New, same + (is_syscall) New, same + * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK + * emulparams/aixppc64.sh : same + * emulparams/aixrs6.sh : same + * emulparams/ppcmacos.sh : same + * emultempl/aix.em : use strtoull to parse options + * Makefile.am : add eaixppc64 emulation for xcoff64 + * Makefile.in : same + * configure.tgt : same + + * scripttempl/aix.sc : default text section offset to 0x10000000 + default data section offset to 0x20000000 + add .sv3264 and .sv64 pseudo sections + loader and debug sections use the currect section offset. + + * emultempl/aix.em : Add xcoff64 support + Add -binitfini support + (gld${EMULATION_NAME}_before_parse) -binitfini + (gld${EMULATION_NAME}_parse_args) same + (gld${EMULATION_NAME}_before_allocation) format change for special + sections + + * emulparams/aixppc64.sh : New file for xcoff64 support + +2001-05-23 Alexandre Oliva + + * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new + variable to avoid non-portable shell construct. + +2001-05-23 Thiemo Seufer + + * ldmain.c (get_emulation): Add -mips5 command line argument. + +2001-05-22 Alexandre Oliva + + * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh. + (ELF_INTERPRETER_NAME): Define it. + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use + it. + * configure.tgt (targ_emul, targ_extra_emuls) + [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso + as primary, elf_i386 as extra. + * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o. + (eelf_i386_ldso.c): New rule. + * Makefile.in: Rebuilt. + +2001-05-22 Nick Clifton + + * lexsup.c (ld_options): Allow -I to be an alias for + --dynamic-linker. This is for Solaris compatability. + * ld.texinfo: Document that -I can be used. + * ld.1: Regenerate. + +2001-05-16 Alan Modra + + * ldlang.c (wild_doit): Use linker_has_input to reliably determine + whether an input section is the first one assigned to an output + section. + Assorted formatting fixes. + +2001-05-14 DJ Delorie + + * Makefile.am (ld.dvi): Search bfd/doc for texinfo files. + * Makefile.in: Ditto. + +2001-05-11 Jakub Jelinek + + * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put + .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind* + output sections. + * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise. + +2001-05-11 Jakub Jelinek + + * ldlang.c (lang_process): Call bfd_merge_sections. + +2001-05-07 Thiemo Seufer + + * ldgram.y: Fix typo. + +2001-05-03 H.J. Lu + + * emultempl/elf32.em: Include "libiberty.h". + (gld${EMULATION_NAME}_vercheck): Call basename () to get the + basename of the bfd filename. + (gld${EMULATION_NAME}_stat_needed): Likewise. + (gld${EMULATION_NAME}_try_needed): Likewise. + (gld${EMULATION_NAME}_open_dynamic_archive): Likewise. + +2001-05-02 H.J. Lu + + * emultempl/pe.em: Include . + +2001-05-02 Johan Rydberg + + * emulparams/elf32openrisc.sh: New file. + + * Makefile.am: Add OpenRISC target. + * Makefile.in: Regenerated. + + * configure.tgt: Add openrisc-*-* mapping. + +2001-05-02 Nick Clifton + + * emultempl/aix.em: Replace buystring with xstrdup. + * emultempl/beos.em: Replace buystring with xstrdup. + +2001-05-02 H.J. Lu + + * ldfile.c: Include "libiberty.h". + * ldlex.l: Likewise. + + * ldmisc.c (buystring): Removed. + * ldmisc.h: Likewise. + + * ldfile.c: Replace buystring with xstrdup. + * ldlang.c: Likewise. + * ldlex.l: Likewise. + * ldmain.c: Likewise. + * ldmisc.c: Likewise. + * lexsup.c: Likewise. + * mpw-eppcmac.c: Likewise. + +2001-04-30 Andreas Jaeger + + * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value. + +2001-04-28 Paul Sokolovsky + + * ldlang.c (load_symbols): Give emulation a chance + to process unrecognized file before fatal error is + reported, not after. + +2001-04-27 Sean McNeil + + * configure.tgt: Add arm-vxworks target. + * scripttempl/armcoff.sc: Support .text or .data as a section name + prefix. + Define _etext. + +2001-04-13 J.T. Conklin + + * ld.texinfo: Document --fatal-warnings. + * ld.1: Regenerate. + + * ldmisc.c (vfinfo): Set flag to inhibit making executable if + warnings have been turned into errors. + * lexsup.c (OPTION_WARN_FATAL): Define. + (ld_options): Entry for --fatal-warnings. + (parse_args): Handle OPTION_WARN_FATAL. + * ld.h (ld_config_type): Add fatal_warnings field. + +2001-04-13 Jakub Jelinek + + * ldmain.c (main): Default to discard_sec_merge. + * lexsup.c (OPTION_DISCARD_NONE): Define. + (ld_options): Add --discard-none. + (parse_args): Handle OPTION_DISCARD_NONE. + * ldlang.c (wild_doit): SEC_MERGE should be set in the output + section only if SEC_MERGE and SEC_STRINGS flags and entsize of + all its input sections match. + +2001-04-05 Steven J. Hill + + * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o. + (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o. + (eelf32ltsmip.c): New target. + (eelf64btsmip.c): Likewise. + (eelf64ltsmip.c): Likewise. + * Makefile.in: Regenerated. + + * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS + target. + (mips*-*-linux-gnu*): Likewise. + + * emulparams/elf32ltsmip.sh: New. Traditional little endian + MIPS taget. + * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian + target. + * emulparams/elf64ltsmip.sh: New. Traditional 64bit little + endian target. + +2001-04-05 Hans-Peter Nilsson + + * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide + correct value of __Stext here. + (TEXT_START_SYMBOLS): Define; always define __Stext, to start of + .startup section. + + * emulparams/crislinux.sh: Remove FIXME. + +2001-04-02 Alan Modra + + * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k. + (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise. + +2001-03-27 Hans-Peter Nilsson + + * configure.tgt (cris-*-*): Change default emulation to criself. + (cris-*-*aout*): New rule. + +2001-03-27 Matthew Wilcox + + * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000. + (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. + +2001-03-26 Andreas Jaeger + + * ld.texinfo (Overview): Fix syntax in texi code. + +2001-03-25 Stephane Carrez + + * ld.texinfo: Put @c man indications to generate the ld man page. + When generating man, define all the variables. Define SEEALSO + and SYNOPSIS. Re-organize some lines to avoid the cross references. + * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables. + (ld.1): Generate from ld.texinfo. + * Makefile.in: Regenerate. + +2001-03-23 Mark Elbrecht + + * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections' + and '-fdata-sections'. Set the VMA of STABS sections to zero. + +2001-03-17 Ulrich Drepper + + * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME + is an absolute path look only for this file and not along the path. + +2001-03-17 Ulrich Drepper + + * emultempl/elf32.em (OPTION_GROUP): New macro. + Add new option Bgroup to longopts. + (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs. + (gld*_list_options): Add -Bgroup and -z defs. + * ld.1: Document -Bgroup and -z defs. + * ld.texinfo: Likewise. + +2001-03-07 Michael Meissner + + * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal + with sections created by -fdata-sections. + (.dynbss,.bss): Ditto. + +2001-03-05 Alan Modra + + * emultempl/m68kelf.em (m68k_elf_after_allocation): Call + after_allocation_default, not gld..._before_allocation. + +2001-02-27 Alan Modra + + * configure.in (BFD_VERSION): New. + (AM_INIT_AUTOMAKE): Use $BFD_VERSION. + * configure: Regenerate. + * Makefile.am: Run "make dep-am" + * Makefile.in: Regenerate. + +2001-02-26 Timothy Wall + + * emulparams/elf64_aix.sh: Add additional read-only sections; + uncomment lines which are now required. + +2001-02-26 H.J. Lu + + * ldlang.c (open_input_bfds): Set the bfd error handler so + that problems can be caught whilst loading symbols. + (record_bfd_errors): New function: Report BFD errors and mark + the executable output as being invalid. + +2001-02-22 Timothy Wall + + * configure.host: Add configuration for ia64-*-aix*. + * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*. + Add dependencies for eelf64_aix.c. + * Makefile.in: Regenerate. + * configure.tgt: Add ia64-*-aix* mapping. + * emulparams/elf64_aix.sh: Add settings for elf64 on aix5. + * testsuite/ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from + AIX-specific test. + +2001-02-20 H.J. Lu + + * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to + false if we found the file. + +2001-02-18 David O'Brien + + * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64, + FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries. + +2001-02-18 lars brinkhoff + + * Makefile.am: Add PDP-11 target. + * configure.tgt: Likewise. + * emulparams/pdp11.sh: New file. + +2001-02-17 David O'Brien + + * configure.host: Add a generic FreeBSD configuration entry such that + all [modern] FreeBSD systems on all platforms will look the same. + +2001-02-14 H.J. Lu + + * configure.tgt: Remove mention of earmelf_linux26. + +2001-02-13 Richard Henderson + + * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove. + +2001-02-13 H.J. Lu + + * ldexp.h (node_type): Add etree_provided. + * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node + type to etree_provided if defined by PROVIDE. Allow updating + for etree_provided. + (exp_print_tree): Handle etree_provided. + * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle + etree_provided. + +2001-02-09 David Mosberger + + * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add + .IA_64.unwind.* pattern to unwind table section and + .IA_64.unwind_info* pattern to unwind info section. + +2001-02-09 Martin Schwidefsky + + * Makefile.am: Add linux target for S/390. + * Makefile.in: Likewise. + * configure.host: Likewise. + * configure.tgt: Likewise. + * emulparams/elf64_s390.sh: New file. + * emulparams/elf_s390.sh: New file. + +2001-02-09 Jakub Jelinek + + * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into + targ_extra_libpath. + (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath. + +2001-02-06 Philip Blundell + + * Makefile.am: Remove mention of earmelf_linux26. + * Makefile.in: Regenerate. + +2001-02-04 Philip Blundell + + * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000. + * emulparams/armelf_linux26.sh: Delete. + * configure.tgt: Remove mention of armelf_linux26 emulation. + +2001-02-01 Nick Clifton + + * ld.1: Replace occurances of -oformat with --oformat. + +2001-01-25 Jim Driftmyer + + * ldlang.c (lang_leave_overlay): Don't set lma_region when + load_base is specified. + +2001-01-24 Hans-Peter Nilsson + + * emultempl/elf32.em: Correct spelling in comments and listed + options. + +2001-01-23 Alan Modra + + * ldlang.c (lang_leave_overlay): Only set lma_region from the + default for the first section of a group of overlay sections. + +2001-01-22 Alan Modra + + * Makefile.am (GENSCRIPTS): Pass exec_prefix. + * Makefile.in: Regenerate. + * genscripts.sh: Use exec_prefix parameter to specify tool lib. + Check for null tool_dir. + +2001-01-16 Jim Wilson + + * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind + and IA_64.unwind.info. + 2001-01-16 H.J. Lu * ldlang.c (lang_check): Merge the private data only if the @@ -582,7 +1093,7 @@ Tue Nov 14 00:59:19 2000 Denis Chertykov * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info sections. - * scripttempl/elf32var.sc: Ditto. + * scripttempl/elf32avr.sc: Ditto. * scripttempl/elfd10v.sc: Ditto. * scripttempl/elfd30v.sc: Ditto. * scripttempl/elfi370.sc: Ditto. @@ -779,8 +1290,8 @@ Tue Nov 14 00:59:19 2000 Denis Chertykov 2000-07-05 Kenneth Block - * ld/lexsup.c: Add optional style to demangle switch - * ld/ld.texinfo: Document optional style to demangle switch. + * lexsup.c: Add optional style to demangle switch + * ld.texinfo: Document optional style to demangle switch. 2000-07-20 Hans-Peter Nilsson @@ -836,7 +1347,7 @@ Tue Nov 14 00:59:19 2000 Denis Chertykov 2000-07-16 Charles Wilson - * src/ld/emultempl/pe.em (gld_*_open_dynamic_archive): New search + * emultempl/pe.em (gld_*_open_dynamic_archive): New search order for dynamic library '-lfoo' on pei386: libfoo.dll.a, foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility errors introduced by the old dynamic lib search order. @@ -1168,7 +1679,7 @@ Thu May 18 10:47:57 2000 Jeffrey A Law (law@cygnus.com) 2000-05-16 Charles Wilson - * ld/emultempl/pe.em (_open_dynamic_archive): New function: Search + * emultempl/pe.em (_open_dynamic_archive): New function: Search the library path for "foo.dll" and "libfoo.dll" dynamic libraries before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo' link options. @@ -1475,7 +1986,7 @@ Fri Apr 7 15:56:57 2000 Andrew Cagney (gld_X_find_potential_libraries): New function. Search for libraries called "*.lib". - * scriptempl/pe.sc: Add .pdata section. + * scripttempl/pe.sc: Add .pdata section. 2000-02-23 Richard Henderson @@ -1536,9 +2047,9 @@ Fri Apr 7 15:56:57 2000 Andrew Cagney 2000-02-03 Timothy Wall - * ld/ldexp.c (fold_name): Make SIZEOF operator return byte count, not + * ldexp.c (fold_name): Make SIZEOF operator return byte count, not octet count. - * ld/ldlang.c (print_input_section, print_data_statement, + * ldlang.c (print_input_section, print_data_statement, print_reloc_statement, print_padding_statement): Print target address values and section sizes as bytes, not octets. (insert_pad) Calculate padding size in octets, and adjust "dot"