X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=ld%2FChangeLog;h=9e8e0e5c18f45ed2cc2b9431995181f690a04d65;hb=aea4bd9d34f1b7454f9f04081569e7fe8371fca7;hp=8ceaf8bd0b9ab23fb81f25644811aad7ead45073;hpb=32edc927faea39b1f7be4654f6ffa03f3e6b16ce;p=binutils-gdb.git diff --git a/ld/ChangeLog b/ld/ChangeLog index 8ceaf8bd0b9..9e8e0e5c18f 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,321 @@ +2000-04-25 Alan Modra + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete. + (output_rel_find): New function. + (hold_section, hold_use): Delete. + (hold_text, hold_rodata, hold_data, hold_bss, hold_rel, + hold_interp): Make local to place_orphan. + (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find + rather than place_section to find possible previous use of orphan. + Similarly find the place-holder output sections. Use returned + value from lang_enter_output_section_statement rather than calling + lang_output_section_statement_lookup. + * emultempl/armelf.em: Same here. + * emultempl/pe.em: Similar to above, but no need for output_rel_find. + + * ldlang.c (lang_enter_output_section_statement): Return output + section statement. + * ldlang.h (lang_enter_output_section_statement): Change + declaration too. + + * ldlang.h (lang_output_section_statement): Export it. + * ldlang.c (lang_output_section_statement): Ditto. + +2000-04-24 Nick Clifton + + * ld.texinfo (Output Section Data): Add note that section data + commands cannot appear outside of section directives. + +2000-04-2 Matthew Green + + * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support. + +Fri Apr 21 13:20:53 2000 Richard Henderson + David Mosberger + + * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o. + (eelf64_ia64.c): New rule. + * Makefile.in: Rebuild. + * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets. + * emulparams/elf64_ia64.sh: New file. + +2000-04-21 Richard Henderson + + * scripttempl/elfd30v.sc: Place .gcc_except_table. + +2000-04-19 Alan Modra + + * dep-in.sed: Match space at start of file name, not at end. + +2000-04-18 H.J. Lu + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call + lang_leave_output_section_statement () after calling + lang_enter_output_section_statement (). + * emultempl/armelf.em: Likewise. + +2000-04-18 Alan Modra + + * emultempl/elf32.em (struct orphan_save): Add section field. + (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in + better order, and place first orphan section as we did before the + 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place. + Don't call make_bfd_section here, let wild_doit do the job for us. + Don't build a statement list when we'll only throw it away. + * emultempl/armelf.em: Ditto. + * emultempl/pe.em: Similarly. + +2000-04-14 Geoff Keating + + * scripttempl/elfppc.sc: Remove. + * emulparams/elf32ppc.sh: Use elf.sc. + * emulparams/elf32lppc.sh: Use elf.sc. + * emulparams/elf32ppclinux.sh: Use elf.sc. + * emulparams/elf32ppcsim.sh: New file. + * emulparams/elf32lppcsim.sh: New file. + * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim. + (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim. + * Makefile.in: Regenerate. + * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim. + +2000-04-14 Alan Modra + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process + ~SEC_ALLOC sections too. Init start address of debug sections. + * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto. + * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto. + Also set all relocateable section start addresses. + +2000-04-13 Geoff Keating + + * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections. + Add new BSS_PLT variable for when .plt need not be contained in + the file. Move _etext so that it is also after .fini, and provide + both etext and _etext with a leading underscore. Mark the start + and end of .sbss. + +2000-04-12 Alan Modra + + * emultempl/elf32.em (struct orphan_save): New. + (hold_text, hold_rodata, hold_data, hold_bss, hold_rel, + hold_interp): Make them struct orphan_save. + (gld${EMULATION_NAME}_place_section): Modify for new hold_*. + (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to + the end of the relevant section list. Also add associated section + statements to the end of any previous orphan statements. + * emultempl/armelf.em: Similarly. + * emultempl/pe.em: Similarly. + +2000-04-11 Alan Modra + + * ld.texinfo (Simple Example): Remove extraneous paragraph. + +Fri Apr 7 15:56:57 2000 Andrew Cagney + + * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add + --enable-build-warnings option. + * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions. + * Makefile.in, configure: Re-generate. + +2000-04-04 Alan Modra + + * po/ld.pot: Regenerate. + + * lexsup.c (help): Restore translated part of bug string. + + * Makefile.am (MKDEP): Use gcc -MM rather than mkdep. + (DEP): Quote when passing vars to sub-make. Add warning message + to end. + (DEP1): Rewrite for "gcc -MM". + (CLEANFILES): Add DEP2. + Update dependencies. + * Makefile.in: Regenerate. + +2000-04-03 Alan Modra + + * ld.h: #include "bin-bugs.h" + * lexsup.c (help): Use REPORT_BUGS_TO. + +2000-03-27 Denis Chertykov + + * configure.tgt (avr-*-*): New target support. + * Makefile.am: Likewise. + * scripttempl/elf32avr.sc: New script file. + * emulparams/avr1200.sh: New file. + * emulparams/avr23xx.sh: New file. + * emulparams/avr4433.sh New file. + * emulparams/avr44x4.sh New file. + * emulparams/avr85xx.sh New file. + * emulparams/avrmega103.sh New file. + * emulparams/avrmega161.sh New file. + * emulparams/avrmega603.sh New file. + * Makefile.in: Regenerate. + +2000-03-09 Andreas Jaeger + + * Makefile.am (check-DEJAGNU): Also unset LANG. + * Makefile.in: Rebuild. + +2000-03-06 Ian Lance Taylor + + * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty + archive. + +2000-03-02 H.J. Lu + + * emulparams/elf32mcore.sh: Include "getopt.h". + +2000-03-01 Ian Lance Taylor + + * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware. + +2000-03-01 H.J. Lu + + * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR. + * emulparams/shpe.sh: Likewise. + +2000-03-01 Nick Clifton + + * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED + to unused parameters. + + * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static + functions only used by DLL code. + (_place_orphan): Initialise 'dollar'. + +2000-03-01 H.J. Lu + + * ldmain.c (undefined_symbol): Take one more arg, fatal, to + indicate if the undefined symbol is a fatal error or not. + Don't delete the output file if "fatal" is false. + +2000-02-29 H.J. Lu + + * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)". + Set LC_COLLATE and LC_ALL to null and export them. It is for + sort which expects the C locale. + Add $(LIBS) to all $(HOSTING_LIBS). + * Makefile.in: Rebuild. + +2000-02-29 Alan Modra + + * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em, + beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em, + linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em} + (ld_emulation_xfer_struct): Add missing NULL initialiser for + find_potential_libraries. + +2000-02-28 Jim Blandy + + * ldgram.y (exclude_name_list): Don't require a comma to separate + list entries; the lexer considers commas to be valid part of a + filename, so in something like `foo, bar' the comma is considered + part of the first filename, `foo,'. + * ld.texinfo: Update section on EXCLUDE_FILE lists. + +2000-02-27 Loren J. Rittle + + * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for + host "i[3456]86-*-freebsdelf*". + +2000-02-27 Mark Elbrecht + + * scripttempl/i386go32.sc: Move misplaced semicolons. + +2000-02-25 Ian Lance Taylor + + * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o. + (ALL_64_EMULATIONS): Remove eelf64hppa.o. + (eelf64hppa.c, ehppaelf.c): Remove targets. + * Makefile.in: Rebuild. + +2000-02-25 Alexandre Oliva + + * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on + GNU/Linux/sparc, but keep the default as 32. + + * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make + it default if sparcv9 or sparc64. + +2000-02-24 Nick Clifton + + * Makefile.am: Add rules to build emipspe.o and earmpe.o. + * Makefile.in: Regenerate. + * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe. + + * ldemul.h (ld_emulation_xfer_struct): Add new field: + find_potential_libraries. + * ldemul.c (ldemul_find_potential_libraries): New function. + + * ldfile.c (ldfile_open_file_search): Allow function to be + exported. + (ldfile_open_file): Call ldemul_find_potential_libraries. + * ldfile.h: Add prototype for ldfile_open_file_search. + + * pe-dll.c: Add support for ARM, MIPS and SH targets. + + * emulparams/mipspe.sh: New file. Parameters for mips-pe target. + * emulparams/shpe.sh: New file. Parameters for sh-pe target. + + * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs. + (gld_X_find_potential_libraries): New function. Search for + libraries called "*.lib". + + * scriptempl/pe.sc: Add .pdata section. + +2000-02-23 Richard Henderson + + * scripttempl/elfd10v.sc: Remove dynamic linking hooks. + Add and use memory regions. + +2000-02-23 Linas Vepstas (linas@linas.org) + + * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New. + + * Makefile.am: Add support for Linux/IBM 370. + * configure.tgt: Likewise. + + * Makefile.in: Regenerate. + +2000-02-21 Alan Modra + + * ldlang.c (print_input_section, print_data_statement, + print_reloc_statement, print_padding_statement, insert_pad, + size_input_section, lang_check_section_addresses, + lang_size_sections, lang_do_assignments, lang_set_startof, + lang_one_common): Change `opb' to unsigned. + (lang_do_assignments): Also change `size' to unsigned. + +2000-02-16 Richard Henderson + + * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION. + +2000-02-16 Timothy Wall + + * mri.c (mri_draw_tree): Add default LMA region argument to call + to lang_leave_output_section_statement. + * ldlang.h: Update prototypes with LMA region arguments. + * ldlang.c (lang_size_sections): Encapsulate region bounds + checking in os_check_region call. + (os_check_region): New function. + (lang_output_section_statement_lookup): Initialize lma_region. + (lang_leave_output_section_statement): Add LMA region argument. + (lang_leave_overlay): Ditto. + * ldgram.y: Handle LMA region syntax. + * ld.texinfo (Output Section Description): Describe LMA region usage. + * emultempl/armelf.em (gld$place_orphan): Add default value for + lma region in call to lang_leave_output_section_statement. + * emultempl/elf32.em (gld$place_orphan): Add default value for + lma region in call to lang_leave_output_section_statement. + * emultempl/pe.em (gld$place_orphan): Add default value for + lma region in call to lang_leave_output_section_statement. + + +2000-02-04 Timothy Wall + + * ldlang.c (lang_check_section_addresses): Use bytes instead of + octets when calculating section end addresses. + 2000-02-04 Timothy Wall * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation.