diff options
Diffstat (limited to 'contrib/binutils/ld/ChangeLog')
-rw-r--r-- | contrib/binutils/ld/ChangeLog | 2311 |
1 files changed, 2254 insertions, 57 deletions
diff --git a/contrib/binutils/ld/ChangeLog b/contrib/binutils/ld/ChangeLog index 6baf1f4..62357d9 100644 --- a/contrib/binutils/ld/ChangeLog +++ b/contrib/binutils/ld/ChangeLog @@ -1,8 +1,2008 @@ +2000-05-03 Alan Modra <alan@linuxcare.com.au> + + From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de> + * lexsup.c (set_section_start): Use bfd_scan_vma rather than + strtoul. + +2000-04-29 Andreas Jaeger <aj@suse.de> + + * ld.h: Correctly check GCC version. + +2000-04-19 Alan Modra <alan@linuxcare.com.au> + + * ld.texinfo (Simple Example): Remove extraneous paragraph. + +2000-04-04 Alan Modra <alan@linuxcare.com.au> + + * 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 <alan@linuxcare.com.au> + + * ld.h: #include "bin-bugs.h" + * lexsup.c (help): Use REPORT_BUGS_TO. + +2000-03-27 Denis Chertykov <denisc@overta.ru> + + * 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 <aj@suse.de> + + * Makefile.am (check-DEJAGNU): Also unset LANG. + * Makefile.in: Rebuild. + +2000-03-06 Ian Lance Taylor <ian@zembu.com> + + * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty + archive. + +2000-03-02 H.J. Lu <hjl@gnu.org> + + * emulparams/elf32mcore.sh: Include "getopt.h". + +2000-03-01 Ian Lance Taylor <ian@zembu.com> + + * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware. + +2000-03-01 H.J. Lu <hjl@gnu.org> + + * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR. + * emulparams/shpe.sh: Likewise. + +2000-03-01 Nick Clifton <nickc@cygnus.com> + + * 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 <hjl@gnu.org> + + * 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 <hjl@gnu.org> + + * 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 <alan@spri.levels.unisa.edu.au> + + * 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 <jimb@redhat.com> + + * 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 <ljrittle@acm.org> + + * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for + host "i[3456]86-*-freebsdelf*". + +2000-02-27 Mark Elbrecht <snowball3@bigfoot.com> + + * scripttempl/i386go32.sc: Move misplaced semicolons. + +2000-02-25 Ian Lance Taylor <ian@zembu.com> + + * 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 <oliva@lsd.ic.unicamp.br> + + * 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 <nickc@cygnus.com> + + * 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 <rth@cygnus.com> + + * 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 <alan@spri.levels.unisa.edu.au> + + * 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 <rth@cygnus.com> + + * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION. + +2000-02-16 Timothy Wall <twall@cygnus.com> + + * 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_statement. + * emultempl/elf32.em (gld$place_orphan): Add default value for + lma region in call to lang_leave_output_statement. + * emultempl/pe.em (gld$place_orphan): Add default value for + lma region in call to lang_leave_output_statement. + + +2000-02-04 Timothy Wall <twall@redhat.com> + + * ldlang.c (lang_check_section_addresses): Use bytes instead of + octets when calculating section end addresses. + +2000-02-04 Timothy Wall <twall@redhat.com> + + * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation. + +2000-02-03 Timothy Wall <twall@redhat.com> + + * ld/ldexp.c (fold_name): Make SIZEOF operator return byte count, not + octet count. + * ld/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" + by bytes. + (size_input_section) Always adjust "dot" by bytes, not octets. + (lang_check_section_addresses, lang_do_assignments) Adjust + "dot" by bytes, not octets. Use the larger of the directive size + or octets_per_byte for the number of octets actually allocated in + the output section. + (lang_set_startof) Make sure STARTOF returns a target address. + (lang_one_common) Record size changes in octets. + (lang_abs_symbol_at_end_of) Section end symbol's value is + recorded in target bytes. + * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc. + to be clear about behavior when an octet is smaller than one byte. + +2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au> + + * ldcref.c (output_cref): Don't pass message strings to printf + as format arg. + Update copyright. + + * ldmisc.c (vfinfo): Same here. + Update copyright. + +2000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au> + + * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.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 initialisers, and comments. + + * testsuite/ld-srec/sr3.cc (__rethrow): New. + +2000-01-21 Nick Clifton <nickc@cygnus.com> + + * ldlang.c (lang_size_sections): Fix typo in comment. + +2000-01-18 H.J. Lu <hjl@gnu.org> + + * ldlang.c (lang_size_sections): Also update the current + address of a region if the SEC_NEVER_LOAD bit is not set. + +2000-01-10 Philip Blundell <pb@futuretv.com> + + * configure.tgt (arm*-*-conix*): New target. + +2000-01-07 Nick Clifton <nickc@cygnus.com> + + * ld.texinfo (Options): Remind users to preceed linker command + line switches with -Wl, (or whatever is appropriate) if it is + being invoked by a comnpiler driver program. + Fix description of the behaviour of the -n command line switch. + +Wed Jan 5 08:02:12 2000 Catherine Moore <clm@cygnus.com> + + * ld.h (wildcard_spec): Change exclude_name to exclude_name_list. + (name_list): New. + * ld.texinfo (EXCLUDE_FILE): Update documentation. + * ldgram.y (wildcard_spec): Support a list of excluded_files. + (exclude_name_list): New. + ldlang.c (walk_wild_section): Support list of excluded files. + (print_wild_statement): Likewise. + (lang_add_wild): Likewise. + * ldlang.h (lang_wild_statement_type): Likewise. + * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support. + +2000-01-04 Mumit Khan <khan@xraylith.wisc.edu> + + * pe-dll.c (pe_dll_warn_dup_exports): New variable. + (process_def_file): Use. + (pe_dll_compat_implib): New variable. + (make_one): Use. + + * pe-dll.h: Add exports of pe_dll_warn_dup_exports and + pe_dll_compat_implib. + + * emultempl/pe.em (longopts): Add warn-duplicate-exports and + compat-implib options. + (gld_${EMULATION_NAME}_list_options): List new options. + (gld_${EMULATION_NAME}_parse_args): Handle. + + * pe-dll.c (pe_dll_generate_implib): Use the correct name for output + dll. + + * deffilep.y (opt_name): Allow "." in name. + +1999-12-02 Nick Clifton <nickc@cygnus.com> + + * Makefile.am: Fix arm-epoc-pe dependencies. + * Makefile.in: Regenerate. + + * emulparams/arm_epoc_pe.sh (SCRIPT_NAME): Set to epocpe. + + * scripttempl/epocpe.sc: New file: copy of pe.sc, customised for + EPOC by placing .rdata into .text. + +1999-11-26 Andreas Schwab <schwab@suse.de> + + * configure.in: Put AC_MSG_CHECKING/AC_MSG_RESULT around check for + STRINGIFY. Use yes/no instead of true/false as value for cache + variable. + * configure: Regenerate. + +1999-11-24 Nick Clifton <nickc@cygnus.com> + + * ldlang.c (IGNORE_SECTION): Section must have both ALLOC and LOAD + attributes in order to be checked. + +1999-11-22 Nick Clifton <nickc@cygnus.com> + + * ldlang.c (lang_check_section_addresses): Fix test to determine + if a section should be tested. + (IGNORE_SECTION): New macro. + +Wed Nov 3 23:31:19 1999 Jeffrey A Law (law@cygnus.com) + + * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): + Clean up code to use EXTRA_SHLIB_EXTENSION. + +1999-11-03 Nick Clifton <nickc@cygnus.com> + + * emulparams/elf32mcore.sh (OUTPUT_FORMAT): Change to little endian. + * emulparams/mcorepe.sh (OUTPUT_FORMAT): Change to little endian. + +1999-11-01 Steve Chamberlain <sac@pobox.com> + + * ldlang.c (section_already_linked): Rework to use hash table. + (already_linked_newfunc): New function. + (already_linked_table_init): New function. + (already_linked_table_free): New function. + (lang_process): Initialize and free the already_linked hash table. + +1999-10-27 Andreas Jaeger <aj@suse.de> + + * ld/configure.host: Added HOSTING_CRT0, HOSTING_LIBS for + target "mips*-*-linux-gnu*". + +1999-10-27 Scott Bambrough <scottb@netwinder.org> + + * emultempl/armelf.em: Include ctype.h to prevent compile time + warnings. + +1999-10-26 Nick Clifton <nickc@cygnus.com> + + * emultempl/armcoff.em (gld{}_finish): Remove extraneous + underscore from prototype. + * emultempl/armelf.em (gld{}_finish): Remove extraneous + underscore from prototype. + +1999-10-07 Geoffrey Keating <geoffk@cygnus.com> + + * scripttempl/elf.sc (.rel.sdata): Combine all the sdata relocs + being .rel.sdata, .rel.sdata.*, .rel.gnu.linkonce.s*. + (.rela.sdata): Likewise for .rela.sdata.* and .rela.gnu.linkonce.s*. + (.rel.sbss): Make like .rel.bss. + (.rela.sbss): Make like .rel.bss. + (.sdata): Don't include .gnu.linkonce.s.* or .sdata.* when + ld -r. + (.sbss): Do the same things as for .bss: include SDATA_START_SYMBOLS, + .dynsbss. + +1999-09-29 Andrew Haley <aph@cygnus.com> + + * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Defer + merging sections when not relocating. + +1999-09-28 Mumit Khan <khan@xraylith.wisc.edu> + + * pe-dll.c (process_def_file): Move the offset lookup from here to + (fill_exported_offsets): here. New static function. + (fill_edata): Use. + +1999-09-28 Mumit Khan <khan@xraylith.wisc.edu> + + * deffilep.y (tokens): Add upper and lower case versions of DATA, + CONSTANT, NONAME and PRIVATE tokens. + (command): Use DATAU. + (expline): Allow for drectve syntax as well. + (exp_opt_list): Likewise. + (exp_opt): Likewise. + * pe-dll.c (make_one): Only generate the idata entries for data + symbols. + +1999-09-28 Geoffrey Keating <geoffk@cygnus.com> + + * scripttempl/elf.sc (.sdata): Include .gnu.linkonce.s.* sections + in .sdata too. + +1999-09-26 Nick Clifton <nickc@cygnus.com> + + * scripttempl/elf.sc (.bss): Accept sections named .bss.* + (.sbss): Accept sections names .sbss.* + +1999-09-22 Nick Clifton <nickc@cygnus.com> + + * Makefile.am: Add earm_epoc_pe.c build target. + +Sat Sep 18 07:57:10 1999 Jeffrey A Law (law@cygnus.com) + + * emulparms/elf64hppa.sh (OTHER_READONLY_SYMBOLS): Remove ".stubs", + they've been renamed to ".stub", which is handled automatically + by elf.sc. + +Fri Sep 17 11:00:33 1999 Jeffrey A Law (law@cygnus.com) + + * emulparms/elf64hppa.sh (TEXT_START_SYMBOLS): Kill completely. + (DATA_START_SYMBOLS): Kill __hp_load_map definition + +Thu Sep 16 10:59:56 1999 Jeffrey A Law (law@cygnus.com) + + * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): + Use the same filename extension for the bfd_elf_dt_needed_name call + as we did for finding the library. + + * emulparms/elf64hppa.sh (DATA_START_SYMBOLS): Define. + (OTHER_READWRITE_SECTIONS): No longer define __hp_load_map. + + * emulparms/elf64hppa.sh (TEXT_START_SYMBOLS): Define. + +Wed Sep 15 02:47:43 1999 Jeffrey A Law (law@cygnus.com) + + * emulparms/elf64hppa.sh (SHLIB_TEXT_START_ADDR): Define. + (SHLIB_DATA_ADDR): Likewise. + + * emulparms/elf64hppa.sh (TEXT_DYNAMIC): Define. + + * emulparms/elf64hppa.h (OTHER_READWRITE_SECTIONS): No longer combine + the .plt, .dlt, .opd into a single output section. Provide values + for __gp and __hp_load_map. + +1999-09-14 Michael Meissner <meissner@cygnus.com> + + * configure.in (Canonicalization of target names): Remove adding + ${CONFIG_SHELL} in front of $ac_config_sub, since autoconfig 2.14 + generates $ac_config_sub with a ${CONFIG_SHELL} already. + * configure: Regenerate. + +1999-09-14 Donn Terry <donn@interix.com> + + * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): allow for + terminating null. + +1999-09-14 Ulrich Drepper <drepper@cygnus.com> + + * configure.in: Define EXTRA_SHLIB_EXTENSION to ".sl" for HP target. + * config.in: Add EXTRA_SHLIB_EXTENSION. + + * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): + Search for second shared lib extension only if EXTRA_SHLIB_EXTENSION + is defined. + +1999-09-14 Nick Clifton <nickc@cygnus.com> + + * Makefile.in: Add earm_epoc_pe.c build target. + +Tue Sep 14 05:26:34 1999 Jeffrey A Law (law@cygnus.com) + + * emulparms/elf64hppa.sh (OTHER_GOT_RELOC_SECTIONS): Add .rela.dlt. + +1999-09-13 Donn Terry <donn@interix.com> + + * emultempl/pe.em: Remove the output file at the start, in case it + is not writable. + +Mon Sep 13 00:17:18 1999 Jeffrey A Law (law@cygnus.com) + + * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): + Search for file with .sl extension if no file with a .so extension + is found. + + * emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Put .plt + at the start of the .dlt output section. + +1999-09-12 Ian Lance Taylor <ian@zembu.com> + + * pe.em: Don't include "../bfd/libbfd.h". + (gld_${EMULATION_NAME}_after_open): Use xmalloc rather than + bfd_alloc. + + * pe-dll.h: New file. + * pe-dll.c: Include "pe-dll.h". Mark unused arguments as needed + to avoid warnings. + (edata_sz, reloc_sz): Change from int to size_t. + (pe_details_type): Change type of imagebase_reloc from int to + unsigned int. + (pe_detail_list): Fully initialize last entry. + (pe_dll_id_target): Change parameter to const. + (pe_dll_generate_def_file): Likewise. + (pe_dll_generate_implib): Likewise. + (pe_implied_import_dll): Likewise. Change dll_name to const. + * emultempl/pe.em: Include "pe-dll.h". Remove declarations now in + pe-dll.h. + (init): Fully initialize __dll__ entry. + (gld_${EMULATION_NAME}_after_open): Remove unused variables + sequence, elt, and i. + * deffile.h: Add preprocessor guard. + * deffilep.y (def_debug): Remove. + * Makefile.am: Rebuild dependencies. + (HFILES): Add pe-dll.h. + +1999-09-12 Donn Terry <donn@interix.com> + + * ld.h (ld_abort): Declare. + (abort): Define. + * ldmisc.c (ld_abort): Define. + + * scripttempl/pe.sc: Use ${ENTRY} rather than _mainCRTStartup. + Move .bss section after .rdata. Move .reloc section after .rsrc. + + * lexsup.c (parse_args): Use strtoul for --split-by-reloc + argument. + + * lexsup.c (parse_args): If we get an unrecognized argument, + mention --help. + + * ldlang.c (section_already_linked): Use comdat information if it + is available. + + * emultempl/pe.em (PE_DEF_SECTION_ALIGNMENT): If + OVERRIDE_SECTION_ALIGNMENT is defined, change to that. + (gld_${EMULATION_NAME}_before_parse): Use EXECUTABLE_NAME if it is + defined, rather than a.exe. + (init): Define __subsystem__ as ${SUBSYSTEM}. + (set_pe_subsystem): Add ${INITIAL_SYMBOL_CHAR} before entry symbol + name. + +1999-09-12 Ian Lance Taylor <ian@zembu.com> + + * ldlang.c (open_output): Change local variable desired_endian + from int to enum bfd_endian. + + * emulparams/arm_epoc_pe.sh: Define ENTRY, SUBSYSTEM and + INITIAL_SYMBOL_CHAR. + * emulparams/armpe.sh: Likewise. + * emulparams/morepe.sh: Likewise. + * emulparams/ppcpe.sh: Likewise. + * emulparams/i386pe.sh (ENTRY): Define as _mainCRTStartup. + (SUBSYSTEM): Define as PE_DEF_SUBSYSTEM. + +Fri Sep 10 00:22:50 1999 Jeffrey A Law (law@cygnus.com) + + * emulparms/elf64hppa.sh (LIB_PATH): Define. + + * emulparms/elf64hppa.sh (OTHER_READONLY_SECTIONS): Put stubs before + unwinders so that they are closer to the text section. + (OTHER_BSS_SECTIONS): Define. + (EXECUTABLE_SYMBOLS): Provide __SYSTEM_ID and _FPU_STATUS. + (INIT_START, INIT_END): Define. + (FINI_START, FINI_END): Define. + * scripttempl/elf.sc: Add support for INIT_START, INIT_END, + FINI_START, FINI_END and OTHER_BSS_SECTIONS. + +Thu Sep 9 21:43:58 1999 Jeffrey A Law (law@cygnus.com) + + * emulparms/elf64hppa.sh (TEXT_START_ADDR): Move up one page. + (DATA_ADDR): Define. + +1999-09-09 Stan Shebs <shebs@andros.cygnus.com> + + * emulparams/d10velf.sh (READONLY_START_ADDR): Set to 0x2000004. + +1999-09-09 Andreas Schwab <schwab@suse.de> + + * ld.texinfo: Fix arguments of @var to not contain punctuation. + +Thu Sep 9 05:52:34 1999 Jeffrey A Law (law@cygnus.com) + + * emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Define. + +1999-09-08 Ulrich Drepper <drepper@cygnus.com> + + * emulparams/elf64hppa.sh (ELFSIZE): New. Set to 64. + +Wed Sep 8 00:07:39 1999 Jeffrey A Law (law@cygnus.com) + + * emulparms/elf64hppa.sh (ENTRY): Define to main. + +1999-09-03 Scott Bambrough <scottb@netwinder.org> + + * ld/configure.host: Added HOSTING_CRT0, HOSTING_LIBS for + target "arm*-*-linux-gnu*" + +1999-09-04 Steve Chamberlain <sac@pobox.com> + + * configure.tgt (pjl-*-*, pj-*-*): New targets. + * emulparams/pjelf.sh: New file. + * emulparams/pjlelf.sh: New file. + * scripttempl/pj.sc: New file. + * Makefile.am (ALL_EMULATIONS): Add epjelf.o and epjlelf.o. + (epjelf.o, epjlelf.o): New targets. + * Makefile.in: Rebuild. + +Fri Sep 3 20:17:08 1999 Jeffrey A Law (law@cygnus.com) + + * emulparams/elf64hppa.sh (MAXPAGESIZE): Define. + (OTHER_READONLY_SECTIONS, DATA_PLT): Likewise. + +Thu Sep 2 14:32:03 1999 Jeffrey A Law (law@cygnus.com) + + * emulparams/elf64hppa.sh: New file. + * configure.tgt (hppa*w-*-*): Use elf64hppa emulation. + * Makefile.am (ALL_64_EMULATIONS): Add eelf64hppa.o + (eelf64hppa.c): Add dependencies. + * Makefile.in: Rebuilt. + +1999-08-25 Philip Blundell <pb@nexus.co.uk> + + * emulparams/armelf.sh (OTHER_BSS_SYMBOLS): Add __end__. + * emulparams/armelf_linux.sh: Likewise. + * emulparams/armelf_linux26.sh: Likewise. + +1999-08-24 Nick Clifton <nickc@cygnus.com> + + From a patch submitted by Roland McGrath <roland@baalperazim.frob.com> + + * configure.tgt (arm-*-netbsd*): New target. + * Makefile.am (ALL_EMULATIONS): Add earmnbsd.o. + (earmnbsd.c): New rule with deps. + * Makefile.on: Regenerate. + * emulparams/armnbsd.sh: New file. + +1999-08-23 Nick Clifton <nickc@cygnus.com> + + * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Define. + Implement --base-file command line switch. + + * emultempl/elf32.em: Add ability for individual targets to have + their own command line switches by defining PARSE_AND_LIST_ARGS. + +1999-08-19 Andreas Schwab <schwab@suse.de> + + * configure.host: Use ${CC} instead of gcc for finding compiler + related files. + +1999-08-11 Nick Clifton <nickc@cygnus.com> + + * scripttempl/mcorepe.sc (OUTPUT_FORMAT): Fix typo. + +1999-08-09 Mark Elbrecht <snowball3@bigfoot.com> + + * scripttempl/i386go32.sc: Handle g++ exception sections. + +1999-08-09 Ian Lance Taylor <ian@zembu.com> + + From Wally Iimura <iimura@microunity.com>: + * ldlang.c (lang_size_sections): When checking whether an address + is within a region, don't get confused by wrapping around at the + end of the address space. + +1999-08-08 Ian Lance Taylor <ian@zembu.com> + + * ldlang.c (wild_doit): Update for renaming of SEC_SHORT to + SEC_SMALL_DATA. + + * Makefile.am: Rename .dep* files to DEP*. Change DEP variable to + MKDEP. Rebuild dependencies. + * Makefile.in: Rebuild. + +1999-08-08 Jakub Jelinek <jj@ultra.linux.cz> + + * configure.host (sparc-*-linux-gnu*): New host. + (sparc64-*-linux-gnu*): New host. + +1999-08-06 Ian Lance Taylor <ian@zembu.com> + + * lexsup.c (is_num): Reindent. + (parse_args): Mention program name in error message. + + * emultempl/ostring.sed: Rename from stringify.sed. + * emultempl/astring.sed: New file. + * Makefile.am (stringify.sed): New target. + (GEN_DEPENDS): Change $(srcdir)/emultempl/stringify.sed to + stringify.sed. + * configure.in: Define and substitute STRINGIFY. + * emultempl/*.em: Use stringify.sed from build directory rather + than source directory. + * emultempl/elf32.em: Use stringify.sed rather than inline sed + script. + * emultempl/gld960.em, emultempl/gld960c.em: Likewise. + * emultempl/hppaelf.em, emultempl/linux.em: Likewise. + * emultempl/lnk960.em, emultempl/sunos.em: Likewise. + * configure, Makefile.in: Rebuild. + +1999-08-05 Donn Terry <donn@interix.com> + + * emulparams/i386pe.sh: Define ENTRY, SUBSYSTEM, and + INITIAL_SYMBOL_CHAR. + * emulparams/i386pe_posix.sh: New file. + * Makefile.am (YACC): If bison is not in the source tree, use + @YACC@ rather than bison -y. + (LEX): If flex is not in the source tree, use @LEX@ rather than + flex. + (ALL_EMULATIONS): Add ei386pe_posix.o. + (ei386pe_posix.c): New target. + * configure.tgt (i[3456]86-*-interix*): New target. + * configure.host (i[3456]86-pc-interix*): New host. + * Makefile.in: Rebuild. + +1999-08-03 Ian Lance Taylor <ian@zembu.com> + + * emulparams/elf32ppc.sh (MAXPAGESIZE): Change to 0x10000. + * emulparams/elf32ppclinux.sh (MAXPAGESIZE): Likewise. + +1999-08-03 H.J. Lu <hjl@gnu.org> + + * Makefile.am (ALL_EMULATIONS): Remove ego32.o. + (ego32.c): Remove. + * Makefile.in: Rebuild. + +1999-07-22 Philip Blundell <pb@nexus.co.uk> + + * emulparams/armelf_linux26.sh (DATA_START_SYMBOLS): Define. + (OTHER_BSS_SYMBOLS, OTHER_BSS_END_SYMBOLS): Likewise. + * emulparams/armelf_linux.sh (DATA_START_SYMBOLS): Define. + + * configure.tgt (arm*-*-uclinux*, thumb-*-uclinux*, + thumb-*-linux-gnu*): New targets. + +1999-07-21 Mark Elbrecht <snowball3@bigfoot.com> + + * scripttempl/i386go32.sc: Add handling of linkonce sections. + + * configure.bat: Remove; obsolete. + * emulparams/go32.sh: Remove; obsolete. + * scripttempl/go32coff.sc: Remove; obsolete. + +1999-07-21 H.J. Lu <hjl@gnu.org> + + * configure.tgt (mips*el-*-vxworks*): New target. + +1999-07-21 Brad M. Garcia <bgarcia@fore.com> + + * configure.tgt (i[3456]86-*-vxworks*): New target. + +Tue Jul 20 15:18:46 1999 Bob Manson <manson@charmed.cygnus.com> + + * ldlang.c (lang_gc_sections): Only handle the start symbol + specially if there is one. + +Mon Jul 19 14:19:14 1999 Mark P. Mitchell <mark@codesourcery.com> + + * emulparams/elf32bmipn32.sh (OTHER_RELOCATING_SECTIONS): Add + .MIPS.events and .MIPS.content handling. + * emulparams/elf64bmip.sh (OTHER_RELOCATING_SECTIONS): Likewise. + +1999-07-17 Nick Clifton <nickc@cygnus.com> + + * ldlang.c (get_target): New function: Return true iff the + given target is the target being sought. + (stricpy): New function: Like strcpy but convert to lower + case as well. + (strcut): New function: Like strstr but remove the located + substring as well. + (name_compare): New function: Compute a compatability rating + for two target names. + (winner): New variable: Best target found by + closest_target_match() so far. + (closest_target_match): New function: Find the target which is + the closest match to the original target. + (get_first_input_target): New function: Find the target format + of the first of the linker's input file. + (open_output): Be more clever about deciding the output target + format. + +1999-07-16 Jakub Jelinek <jj@ultra.linux.cz> + + * emulparams/elf64_sparc.sh: Add 64-bit directories to native LIB_PATH. + +Thu Jul 15 15:55:15 1999 Mark P. Mitchell <mark@codesourcery.com> + + * configure.host: Set up HOSTING_CRT0 and HOSTING_LIBS for IRIX6. + +1999-07-15 Ian Lance Taylor <ian@zembu.com> + + * configure.in: Bump version number to 2.9.5. + * configure: Rebuild. + +1999-07-14 Richard Henderson <rth@cygnus.com> + + * ldlang.c (wild_doit): Copy SEC_SHORT to output section. + + * scripttempl/elf.sc: Re-order .rel[a].foo outputs to the + same order seen for the main sections. Add + OTHER_READONLY_RELOC_SECTIONS and OTHER_GOT_RELOC_SECTIONS. + +1999-07-12 Andreas Schwab <schwab@suse.de> + + * emultempl/linux.em (ld_${EMULATION_NAME}_emulation): Fill in + structure initializations. + + * emultempl/elf32.em (ld_${EMULATION_NAME}_emulation): Add missing + comma in initializer. + +1999-07-11 Ian Lance Taylor <ian@zembu.com> + + * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED + as appropriate. Fill in structure initializations. + +1999-07-10 Ian Lance Taylor <ian@zembu.com> + + * ldfile.c: Revert patch of 1999-07-08. + (ldfile_try_open_bfd): If we are searching for the file, skip + files with an incompatible architecture. + +1999-07-09 Nick Clifton <nickc@cygnus.com> + + * scripttempl/armcoff.sc (OUTPUT_FORMAT): Include big endian and + little endian formats. + +1999-07-08 Felix Lee <flee@cygnus.com> + + * scripttempl/mcorepe.sc: fix quoting problem, for bash 2.x + +1999-07-08 Jakub Jelinek <jj@ultra.linux.cz> + + * ldfile.c (ldfile_open_file_search): Skip libraries made for + incompatible architectures in the search path. Let the user know + about any such skips. + +Thu Jul 8 12:32:23 1999 John David Anglin <dave@hiauly1.hia.nrc.ca> + + * configure.tgt (hppa*-linux-gnu*): New target. + +1999-07-07 Mark Mitchell <mark@codesourcery.com> + + * Makefile.am (ALL_64_EMULATIONS): Add eelf64bmip. + (eelf64bmip): New target. + * Makefile.in: Regenerated. + * configure.tgt (mips-sgi-irix6*): Add 64-bit emulation. + * emulparams/elf64bmip.sh: New file. + +1999-07-05 Nick Clifton <nickc@cygnus.com> + + * emultempl/pe.em (after_open): Abort if input format is ARM and + output format is not. + * emultempl/armcoff.em (after_open): Abort if input format is ARM + and output format is not. + * emultempl/armelf.em (after_open): Abort if input format is ARM + and output format is not. + +1999-07-02 Ian Lance Taylor <ian@zembu.com> + + * ldlang.c: Revert change of 1999-06-23. + +1999-06-30 Mark Mitchell <mark@codesourcery.com> + + * Makefile.am (ALL_EMULATIONS): Add eelf32bmipn32.o. + (eelf32bmipn32.c): New target. + * Makefile.in: Regenerated. + * configure.tgt (mips-sgi-irix6*): Make n32 the default + emulation. + * emulparams/elf32bmipn32.sh: New file. + +1999-06-28 Jim Pick <jim@jimpick.com> + + * emultempl/armelf.em: Added code so that .xs linker scripts are + called so that ARM shared libraries are built correctly. + +1999-06-22 Mark Mitchell <mark@codesourcery.com> + + * ldmain.c (main): Initialize link_info.init_function and + link_info.fini_function. + * lexsup.c (OPTION_INIT): New macro. + (OPTION_FINI): Likewise. + (ld_options): Add descriptions for them. + (parse_args): Handle them. + +1999-06-23 Ian Lance Taylor <ian@zembu.com> + + * ldlang.c (section_already_linked): Only discard link once + sections if we are building constructors. + +1999-06-22 Nick Clifton <nickc@cygnus.com> + + * ld.texinfo (Location Counter): Describe behaviour of + location counter inside section statements. + +1999-06-20 Mark Mitchell <mark@codesourcery.com> + + * scripttempl/elf.sc (WRITABLE_RODATA): New variable for + controlling whether or not .rodata is in the data segment or the + text segment. + +1999-06-18 Nick Clifton <nickc@cygnus.com> + + * emultempl/pe.em: Add new command line switch --thumb-entry. + * emultempl/armelf.em: Add new command line switch --thumb-entry. + * emultempl/armcoff.em: Add new command line switch --thumb-entry. + * ld.texinfo: Document new ARM command line switch: --thumb-entry. +1999-06-20 H.J. Lu <hjl@gnu.org> + + * configure.in (all_libpath): Accumulate across all enabled targets. + +Sun Jun 20 14:10:33 1999 Richard Henderson <rth@cygnus.com> + + * emultempl/armelf.em: Watch EMULATION_LIBPATH instead of + DEFAULT_EMULATION. + * emultempl/elf32.em: Likewise. + * emultempl/sunos.em: Likewise. + +Fri Jun 18 15:24:48 1999 Richard Henderson <rth@cygnus.com> + + * Makefile.am (GENSCRIPTS): Pass EMULATION_LIBPATH, not EMUL. + * configure.in (all_emuls): Add targ_extra_libpath. + (all_libpath, EMULATION_LIBPATH): Define. + * configure.tgt (powerpc-*-linux-gnu*): Define targ_extra_libpath. + * genscripts.sh (LIB_PATH): Define if emulation in EMULATION_LIBPATH. + +Mon Jun 14 10:38:36 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> + + * ld.texinfo: Fix use of @item vs. @itemx. + +1999-06-13 Ian Lance Taylor <ian@zembu.com> + + From Thomas Zenker <thz@lennartz-electronic.de>: + * ldgram.y (attributes_opt): Use attributes_list instead of NAME. + (attributes_list, attributes_string): New nonterminals. + * ldlang.c (lang_set_flags): Add invert parameter. Don't handle + '!'. + * ldlang.c (lang_set_flags): Update declaration. + +1999-06-12 Ian Lance Taylor <ian@zembu.com> + + * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Don't add + entry_symbol as an undefined symbol when doing a relocateable + link. From <jeffdb@goodnet.com>. + +1999-06-12 David O'Brien <obrien@freebsd.org> + + * configure.tgt: (i[3456]86-*-freebsd*): Now defaults to ELF. + +1999-06-09 Nick Clifton <nickc@cygnus.com> + + * lexsup.c (help): Restore previous format of output. + +1999-06-04 Nick Clifton <nickc@cygnus.com> + + * emultempl/pe.em: If compiling for arm_epoc_pe rename + interworking functions to avoid a name space clash. + +1999-06-02 Jason Merrill <jason@yorick.cygnus.com> + + * scripttempl/v850.sc: Add initp support. + +1999-06-02 Nick Clifton <nickc@cygnus.com> + + * emultempl/pe.em: Rename global arm interworking functions to + avoid name collision when all targets BFD is built. + +1999-05-30 Cort Dougan <cort@attis.cs.nmt.edu> + + * Makefile.am (ALL_EMULATIONS): Add eelf32ppclinux.o. + * configure.tgt (powerpc-*-linux-gnu): Use it. + * emulparams/elf32ppclinux.sh: New file. + +1999-05-29 Ian Lance Taylor <ian@zembu.com> + + * ld.texinfo (Options): Clarify that options which refer to files + must be properly ordered. + +1999-05-29 Nick Clifton <nickc@cygnus.com> + + * emultempl/armelf.em (..._parse_args): New function: Parse + command line option. Accept arm-elf specific command line option + '-p' or '--no-pipeline-knowledge'. + (..._list_options): New function: Describe the new command line + option. + (..._before_allocation): Pass the value of the new variable + no_pipeline_knowledge to bfd_elf32_arm_process_before_allocation. + + * emultemp/armelf_oabi.em (..._before_allocation): Pass zero as + the third parameter to bfd_elf32_arm_process_before_allocation. + +1999-05-28 Nick Clifton <nickc@cygnus.com> + + * lexsup.c (help): Minor formatting changes. + +1999-05-28 Martin Dorey <mdorey@madge.com> + + * configure.tgt (i960-*-elf*): New target. + * emulparams/elf32_i960.sh: New file. + * Makefile.am (ALL_EMULATIONS): Add eelf32_i960.o. + (eelf32_i960.c): New target. + * Makefile.in: Rebuild. + +1999-05-26 Nick Clifton <nickc@cygnus.com> + + * emulparams/armelf_oabi.sh (TEMPLATE_NAME): Set to armelf_oabi. + +1999-05-24 Philip Blundell <philb@gnu.org> + + * emultempl/armelf.em (before_parse): Set config.dynamic_link and + config.has_shared. + * emulparams/armelf.sh (GENERATE_SHLIB_SCRIPT): Define. + * emulparams/armelf_linux.sh (GENERATE_SHLIB_SCRIPT): Likewise. + +1999-04-13 Philip Blundell <philb@gnu.org> + + * emultempl/armelf.em: Add definitions related to shared objects + (copied from elf32.em). + +Wed May 19 12:44:26 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> + + * Makefile.am (ALL_EMULATIONS): Remove earmlinux.o and + earm26linux.o, add earmelf_linux.o and earmelf_linux26.o. + * Makefile.in: Regenerated. + +1999-05-16 Nick Clifton <nickc@cygnus.com> + + * emulparams/elf32mcore.sh (GENERATE_SHLIB_SCRIPT): Define. + (TEMPLATE_NAME): Define. + +Thu May 13 09:48:09 1999 Joel Sherrill (joel@OARcorp.com) + + * configure.tgt (i386-*-rtemself*, sh-*-rtemself*): New targets. + (mips*el-*-rtems*, powerpcle-*-rtems*): New targets. + +1999-05-10 DJ Delorie <dj@cygnus.com> + + * scripttempl/pe.sc: Specify the output arch, which Ian says is + the Right Thing to do. + + * emultempl/pe.em: various changes to parameterize the + target-specific information. + (gld_i386pe_after_open): Detect and fix MS import libraries + by renaming the member objects (which are all named the same). + + * pe-dll.c: various changes to parameterize the target-specific + information. + (generate_reloc): support relocs more generically to allow for + expansion. + (pe_exe_build_sections): new; used to add .relocs to .exes + (pe_exe_fill_sections): ditto + +1999-05-10 Catherine Moore <clm@cygnus.com> + + * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): + Check for TARGET_IS_arm_epoc_pe. + (gld_${EMULATION_NAME}_before_allocation): Likewise. + +1999-05-12 Anthony Green <green@cygnus.com> + + * ldlang.c (walk_wild, walk_wild_file, walk_wild_section, + output_section_callback, gc_section_callback): New functions for + generic section walks. + (wild, lang_gc_wild): Use walk_wild. + (wild_file, lang_gc_wild_file): Deleted. Common logic moved to + walk_wild_file. + (wild_section, lang_gc_wild_section): Deleted. Common logic moved + to walk_fild_section. Unique logic moved into callbacks + output_section_callback and gc_section_callback. + +1999-04-26 Tom Tromey <tromey@cygnus.com> + + * aclocal.m4, configure: Updated for new version of libtool. + +1999-04-12 Philip Blundell <pb@nexus.co.uk> + + * emulparams/armelf_linux.sh: New file. Support for ARM + GNU/Linux ELF ABI. + * emulparams/armelf_linux26.sh: New file. APCS-26 version of above. + * configure.tgt: For arm*-*-linux-gnu*, set default emulation to + `armelf_linux', and also include `armelf_linux26' and `armelf'. + * Makefile.am: Add rules to make earmlinux.c and earmlinux26.c. + (ALL_EMULATIONS): Add earmlinux.o and earmlinux26.o. + * Makefile.in: Regenerate. + +1999-04-11 Richard Henderson <rth@cygnus.com> + + * Makefile.am (ALL_EMULATIONS): Add elf_i386_be.o. + * configure.tgt (i[3456]86-*-beos*): Use it. + * emulparams/elf_i386_be.sh: New file. + * Makefile.in: Rebuild. + + * configure.in (environ): Detect declaration. + * ldmain.c (main): Don't declare environ. + * sysdep.h (environ): Declare if needed. + * configure, config.in: Rebuild. + +1999-04-11 Richard Henderson <rth@cygnus.com> + + * ldgram.y (ldgram_vers_current_lang): New. + (vers_defns): Accept `extern "lang" { }' syntax. + * ldlex.l (vers_node_nesting): New. + (V_IDENTIFIER): Accept . and $ in symbols. + (VERS_NODE): Accept `extern "lang" { }' tokens. Nest VERS_NODE states. + * ldlang.c (lang_new_vers_regex): New `lang' argument. Update callers. + (lang_vers_match_lang_c): New function. + (lang_vers_match_lang_cplusplus): New function. + (lang_vers_match_lang_java): New function. + (lang_do_version_exports_section): Fix iteration. Don't free + section contents, as it is still in use by the patterns. + +1999-04-10 Richard Henderson <rth@cygnus.com> + + * ldmain.c (main): Init link_info.no_undefined. + * lexsup.c: Add command-line option --no-undefined. + +1999-04-06 Ian Lance Taylor <ian@zembu.com> + + * ld.h (LC_MESSAGES): Never define. + * ldmain.c (main): Don't pass LC_MESSAGES to setlocale if the + system does not define it. + +1999-04-06 H.J. Lu <hjl@gnu.org> + + * ldmain.h (demangling): Declare. + * ldmain.c (demangling): New global variable. + (main): Initialize demangling. + * ldmisc.c (vfinfo): Don't demangle symbol if ! demangling. + * lexsup.c (ld_options, parse_args): Handle --demangle and + --no-demangle. + * ld.texinfo, ld.1: Document --demangle/--no-demangle. + + * ldlex.l (V_IDENTIFIER): Allow '.' in symbol. + +1999-04-05 Chris Torek <torek@BSDI.COM> + + * emultempl/sunos.em (gld${EMULATION_NAME}_search_dir): Check that + a shared library really exists, avoiding broken symlinks. + + * ldfile.c (ldfile_open_file): Generate a better error message if + we can't find a -l file. + +1999-04-05 DJ Delorie <dj@cygnus.com> + + * configure.tgt (i386-*-pe): add targ_extra_ofiles for other PE + targets (i386-pe and i386-winnt) + +1999-04-04 Ian Lance Taylor <ian@zembu.com> + + * deffilep.y: Include "sysdep.h" and "ldmisc.h". + (def_file_add_directive): Change return type to void. Remove + unused locals sh_reserve, sh_commit, and j. + (def_ungetc): Always return a value. + (def_lex): Correct parenthesization of || within &&. + * deffile.h (def_file_add_directive): Update declaration. + * pe-dll.c: Include <time.h>, <ctype.h>, and "ldemul.h". + (generate_edata): Remove unused local i. + (quoteput): Add cast to avoid warning. + (pe_dll_generate_def_file): Fix type in format string. + (quick_symbol): Remove unused local blhe. + (pe_dll_generate_implib): Add cast to avoid warning. + (pe_process_import_defs): Remove unused locals ar_head, ar_tail, + and n. + (pe_as16): Comment out. + +1999-04-04 Don Bowman <don@pixsci.com> + + * configure.tgt: Add mips*-*-vxworks* target. + +1999-03-31 Nick Clifton <nickc@cygnus.com> + + * Makefile.in (ALL_EMULATIONS): Add earm_epoc_pe.o + Add build rule and dependencies for earm_epoc_pe.c. + + * emulparams/arm_epoc_pe.sh: New file. + + * configure.tgt: Add 'targ_extra_ofiles' for ARM based PE + targets. + +1999-03-31 Philip Blundell <pb@nexus.co.uk> + + * configure.tgt: Match `arm*-*-linux-gnu*' not + `armv*-*-linux-gnu'. + +1999-03-26 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> + + * scripttempl/elf.sc: Put the .eh_frame and .gcc_except_table + sections in the data segment. + +Fri Mar 26 12:05:51 1999 Catherine Moore <clm@cygnus.com> + + * ld.h (wildcard_spec): Add exclude_name. + * ldgram.y (EXCLUDE_FILE): New token. + (wildcard_spec): Set exclude_name. + (file_NAME_list): Recognize EXCLUDE_FILE. + * ldlang.c (wild_section): Check for excluded files. + (print_wild_statement): Print excluded files. + (lang_add_wild): New argument exclude_filename. + Set exclude_filename. + * ldlang.h (lang_wild_statement_type): Add exclude_filename. + * ldlex.l: New token EXCLUDE_FILE. + * mri.c (mri_draw_tree): Add argument to lang_add_wild. + * scripttempl/elf.sc (CTOR, DTOR): Exclude crtend.o from ctor wildcard. + Reorder sorted and unsorted ctors. + * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise. + * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise. + * scripttempl/elfppc.sc (CTOR, DTOR): Likewise. + +1999-03-26 Nick Clifton <nickc@cygnus.com> + + * ldlang.c (lang_gc_sections): If entry_symbol is not defined, + default to "start". + +1999-03-03 Nick Clifton <nickc@cygnus.com> + + * scripttempl/elf.sc: Add explicit placements for the .eh_frame + and .gcc_except_table sections. + +Wed Mar 3 09:13:34 1999 Catherine Moore <clm@cygnus.clm> + + * scripttempl/elf.sc: Remove .end.ctors and .end.dtors + sections. Reorder .ctors section entries. + * scripttempl/elfd10v.sc: Likewise. + * scripttempl/elfd30v.sc: Likewise. + * scripttempl/elfppc.sc: Likewise. + +1999-02-26 Jim Lemke <jlemke@cygnus.com> + + * ldmain.c (main): Wrong error msg for -r and --mpc860c0. + +1999-02-25 Nick Clifton <nickc@cygnus.com> + + * ldlang.c (lang_check_section_addresses): Remove extraneous + backslash. + +Thu Feb 25 15:07:24 1999 Catherine Moore <clm@cygnus.com> + + * scripttempl/elf.sc: Don't gather .ctor and .dtor sections + for relocateable links. + * scripttempl/elfd10v.sc: Likewise. + * scripttempl/elfd30v.sc: Likewise. + * scripttempl/elfppc.sc: Likewise. + +1999-02-22 Jim Lemke <jlemke@cygnus.com> + + * ldint.texinfo: remove extraneous right brace. + * ldmain.c (main): initialize and check option "mpc860c0". + * lexsup.c (ld_options, parse_args): add option "mpc860c0". + +Wed Feb 17 12:10:06 1999 Stan Cox <scox@cygnus.com> + + * mpw-elfmips.c (gldelf32ebmip_before_allocation): Remove special + .reginfo section handling. + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Likewise. + * emulparams/elf32elmip.sh (INITIAL_READONLY_SECTIONS): Removed + * emulparams/elf32ebmip.sh (INITIAL_READONLY_SECTIONS): Removed + +1999-02-17 Nick Clifton <nickc@cygnus.com> + + Patch from: Scott Bambrough <scottb@corelcomputer.com> + + * configure.tgt: Added armv*-*-linux-gnu to $targ_emul + recognition. + +Wed Feb 17 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> + + * emultempl/armelf_oabi.em + (bfd_elf32_arm_allocate_interworking_sections, + bfd_elf32_arm_get_bfd_for_interworking, + bfd_elf32_arm_process_before_allocation): Define them to use the + old ABI versions of the functions. + +Tue Feb 16 16:48:19 1999 Ian Lance Taylor <ian@cygnus.com> + + * configure.in: Change AC_PREREQ to 2.13. Change AM_PROG_INSTALL + to AC_PROG_INSTALL. Change AM_EXEEXT to AC_EXEEXT. + * Makefile.am (earmelf_oabi.c): Changes spaces to tab. + * acconfig.h: Remove. + * aclocal.m4: Rebuild. + * configure: Rebuild. + * Makefile.in: Rebuild. + +Mon Feb 15 18:21:48 1999 Vladimir N. Makarov <vmakarov@cygnus.com> + + * ldexp.h (struct etree_value_type): Change valid onto valid_p. + + * ldexp.c (new_abs): Ditto. + (new_rel, new_rel_from_section, fold_binary, invalid, fold_name, + exp_fold_tree, exp_binop, exp_trinop, stat_alloc, + exp_get_abs_int): Ditto + + * ldlang.c (print_assignment, lang_size_sections, + lang_do_assignments): Ditto. + +1999-02-11 Nick Clifton <nickc@cygnus.com> + + * ldlang.c (lang_check_section_addresses): New function: Check + addresses assigned to section for overlaps. + (lang_process): Call lang_check_section_addresses if suitable. + + * ld.h: Add new boolean field to args_type structure: + 'check_section_addresses'. + + * ldmain.c: Initialise check_section_addresses field to true. + + * lexsup.c: Add new command line options '--no-check-sections' and + '--check-sections'. + + * ld.texinfo: Document new command line options '--check-sections' + and '--no-check-sections'. + +1999-02-08 Nick Clifton <nickc@cygnus.com> + + * configure.tgt: Add support for StrongARM target. + +Wed Feb 3 19:41:01 1999 Ian Lance Taylor <ian@cygnus.com> + + * ldctor.c (ldctor_build_sets): Just set SEC_KEEP once. Check for + an owner of a section before using it to look up a reloc type. + Don't set SEC_KEEP for the absolute section. + +Mon Feb 1 11:39:46 1999 Catherine Moore <clm@cygnus.com> + + * Makefile.am (earmelf_oabi.o): New. + * Makefile.in: Regenerate. + * configure.tgt (arm-*-oabi): New. + (thumb-*-oabi): New. + * emulparams/armelf_oabi.sh: New. + * emultempl/armelf_oabi.em: New. + +1999-01-31 17:57:31 1998 Michael Meissner <meissner@cygnus.com> + + * scripttempl/elfppc.sc: Add support for -fleading-underscores + switch in all linker generated symbols. + + * configure.tgt (powerpc{,le}*-*-vxworks): Add as aliases for + powerpc{,le}-*-eabi. + +Wed Jan 20 17:01:48 1999 Ian Lance Taylor <ian@cygnus.com> + + * configure.tgt (i[3456]86-*-solaris2*): New target. From Pavel + Roskin <pavel_roskin@geocities.com>. + +1999-01-19 Nick Clifton <nickc@cygnus.com> + + * ldlang.c (lang_size_sections): Count loadable sections as + contributing to the size of the current segment. + +1999-01-15 Nick Clifton <nickc@cygnus.com> + + * ldlang.c (lang_size_sections): Only update the current + address of a region if the section just placed into it is an + allocated section. + +1999-01-12 Nick Clifton <nickc@cygnus.com> + + * Makefile.am: Replace efr30.o with eelf32fr30.o. + * Makefile.in: Regenerate. + + * configure.tgt: Replace fr30 with elf32fr30. + + * emulparams/elf32fr30.sh: New file: Replaces fr30.sh, and uses + generic elf.sc script. Also replaces the .stack section with a + user definable symbol __stack. + +1999-01-11 Nick Clifton <nickc@cygnus.com> + + * scripttempl/fr30.sc: Fill .init and .fini sections with NOP + pattern. + +1999-01-03 Ken Raeburn <raeburn@cygnus.com> + + * Makefile.am (check-DEJAGNU): No longer provide HOSTING_EMU, + HOSTING_CRT0, HOSTING_LIBS; the test suite can extract them from + configure.host and configure.tgt now. + * Makefile.in: Rebuild. + +1998-12-27 Ulrich Drepper <drepper@cygnus.com> + + * lexsup.c (parse_args, case OPTION_RPATH): Avoid adding duplicate + elements to rpath. + +Thu Dec 10 11:12:28 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> + + * Makefile.am (ALL_EMULATIONS): Remove pe-dll.o and deffilep.o. + (ALL_EMUL_EXTRA_OFILES): New variable. Put them here instead. + * configure.in: Set EMUL_EXTRA_OFILES to $(ALL_EMUL_EXTRA_OFILES) + if configuring with all targets. + * configure, Makefile.in, aclocal.m4: Rebuild. + + * emultempl/pe.em (pe_enable_stdcall_fixup): Make static. + (pe_dll_do_default_excludes): Removed, unused. + (pe_def_file, pe_dll_export_everything, pe_dll_kill_ats, + pe_dll_stdcall_aliases): Don't initialize them, this file may be + compiled more than once. + * pe-dll.c (pe_def_file, pe_dll_export_everything, + pe_dll_do_default_excludes, pe_dll_kill_ats, + pe_dll_stdcall_aliases): Define and initialize them here instead. + (generate_reloc): Fix allocation of reloc_addresses array to use + bfd_vma instead of unsigned long. Fix element size in qsort call. + (reloc_sort): Compare pointers to bfd_vma instead of unsigned + long. + +Mon Dec 7 21:10:09 1998 J.J. van der Heijden <j.j.vanderheijden@student.utwente.nl> + + * configure.tgt (i[3456]86-*-mingw32*): Add cygwin target specific + files. + +Sun Dec 6 16:33:33 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.tgt (m68*-*-gnu*): New target. From Aymeric Vincent + <aymeric.vincent@emi.u-bordeaux.fr>. + +1998-12-04 Nick Clifton <nickc@cygnus.com> + + * emulparams/fr30.sh (TEXT_START_ADDR): Change TEXT_START_ADDR + from 0x100000 to 0x10000 so that it fits in 20 bits. + +Sat Nov 28 22:32:20 1998 Ian Lance Taylor <ian@cygnus.com> + + * ldemul.h (ldemul_recognized_file): Declare. + +Sat Nov 28 22:30:55 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> + + * ldlang.c (lang_add_wild): Don't pretend that there is an input + file if the filename is a wildcard pattern. + +1998-11-25 DJ Delorie <dj@cygnus.com> + + * ldemul.h (ld_emulation_xfer_struct): new hook "recognized_file" + * ldemul.c (ldemul_recognized_file): new function, new hook + * ldint.texinfo: document new hook. + * ldlang.c (load_symbols): call recognized_hook for all objects we + do recognize, in case the emulation needs to handle them + specially. PE DLLs use this. + * pe-dll.c (pe_dll_generate_def_file): take out hack and debug + printfs + * emultempl/pe.em (gld_i386_recognized_file): new function + (gld_i486_unrecognized_file): take out hack + +1998-11-23 DJ Delorie <dj@cygnus.com> + + * pe-dll.c (fill_edata): fill in timestamp + (make_head): name object files sequentially to ensure + they link in the right order. + (make_tail): same here + (pe_process_import_defs): use sequential names for bfds to ensure + proper link order. + (pe_implied_import_dll): new function; handles linking directly + against DLLs by simulating IMPORTS directives. * emultempl/pe.em + (gld_i386pe_before_parse): hack bfd to not recognize .dll files + via bfd_pe_dll_not_recognized_hack + +1998-11-23 DJ Delorie <dj@cygnus.com> + + * emultempl/pe.em (gld_i386pe_parse_args): Conditionalize call to + pe_dll_add_excludes + +Mon Nov 23 14:36:18 1998 Nick Clifton <nickc@cygnus.com> + + * emultempl/pe.em (after_parse): Only create an undefined entry + symbol if one has been specified. + +1998-11-23 DJ Delorie <dj@cygnus.com> + + * emultempl/pe.em (gld_i386pe_after_open): call + pe_process_import_defs + * pe-dll.c (pe_dll_generate_def_file): calculate BASE from + pe_data, only print if actually set. Print version only if + set. + (save_relocs): save relocs for both input and output. + (make_one): support internal/external different names. + (pe_dll_generate_implib): support new make_one + (pe_process_import_defs): new function; handles IMPORT + directives in .def files. + +Fri Nov 20 13:06:49 1998 Nick Clifton <nickc@cygnus.com> + + * ldmisc.c (vfinfo): Cope with empty symbol names. + +Thu Nov 19 13:31:15 1998 Nick Clifton <nickc@cygnus.com> + + * scripttempl/pe.sc: Add provision of '_end' symbol. + +Wed Nov 18 18:18:43 1998 Geoffrey Noer <noer@cygnus.com> + + * configure.tgt: change refs from cygwin32* to cygwin*. + * aclocal.m4: regenerate + * configure.in: don't need to call AM_CYGWIN32. + * configure: regenerate + +Mon Nov 16 22:14:07 1998 DJ Delorie <dj@cygnus.com> + + * emultempl/pe.em (gld_i386_finish): generate import library + * deffile.h: add hint member. + * pe-dll.c (pe_dll_generate_implib): New function with helpers; + generates the import library directly from the export table. + (fill_edata): remember the actual hint for the import library. + +Sat Nov 14 14:36:24 1998 Ian Lance Taylor <ian@cygnus.com> + + * ld.1: Some cleanups from NOKUBI Hirotaka <hnokubi@yyy.or.jp>. + +Thu Nov 12 19:21:57 1998 Dave Brolley <brolley@cygnus.com> + + * po/ld.pot: Regenerated. + * po/POTFILES.in: Regenerated. + * configure: Regenerated. + * aclocal.m4: Regenerated. + * Makefile.in: Regenerated. + +Wed Nov 11 18:10:15 1998 DJ Delorie <dj@cygnus.com> + + * pe-dll.c (generate_reloc): don't output PE relocs for sections + that won't be loaded. + +Wed Nov 11 13:44:54 1998 DJ Delorie <dj@cygnus.com> + + * pe-dll.c (fill_edata): don't strip underscores + +Tue Nov 10 21:28:19 1998 DJ Delorie <dj@cygnus.com> + + * ld.texinfo: added i386pe option summary + +Tue Nov 10 17:53:17 1998 DJ Delorie <dj@cygnus.com> + + * pe-dll.c (process_def_file): properly note undefined exported + symbols, clean up old code. + (pe_dll_generate_def_file): don't crash if pe_def_file is NULL + * emultempl/pe.em (gld_i386_parse_args): add + (en/dis)able-stdcall-fixups + (pe_fixup_stdcalls): warn about stdcall fixups + (gld_i386_unrecognized_file): make exported symbols undefs so that + archive members get pulled in + +Tue Nov 10 14:50:51 1998 Catherine Moore <clm@cygnus.com> + + * scripttempl/elfd10v.sc: Add KEEP attribute to .init, + .fini, .dtors and .ctors. Add .data and .text + wildcards to support section garbage collection. + +Mon Nov 9 22:52:50 1998 DJ Delorie <dj@indy.delorie.com> + + * deffilep.y: properly handle relocs with multiple def_files, + cache import module names + +Mon Nov 9 22:44:58 1998 DJ Delorie <dj@cygnus.com> + + * pe-dll.c (process_def_file): don't assume exports won't move + during a realloc + +Mon Nov 9 16:41:30 1998 DJ Delorie <dj@cygnus.com> + + * pe-dll.c: New file; direct support for PE DLLs + * deffile.h: New file; direct support for PE DLLs + * deffilep.y: New file; direct support for PE DLLs + * emultempl/pe.em: add direct support for PE DLLs + * configure.tgt: allow target-specific extra files + * configure.in: allow target-specific extra files + * ldlang.c (lang_add_assignment): return the assignment so that + one can change the value later based on the object files (pe-dll + DEF files do this) + * ldint.texinfo: add section for emulation walkthrough + * Makefile.am: add new files and target-specific extra files + * emultempl/pe.em (gld_i386_list_options): list dll-specific + options. + * pe-dll.c (process_def_file): auto-export everything if + nothing is otherwise exported. + +Wed Nov 4 16:39:18 1998 Nick Clifton <nickc@cygnus.com> + + * Makefile.am: Add support for FR30 target. + * configure.tgt: Add support for FR30 target. + * Makefile.in: Regenerate. + * emulparams/fr30.sh: New file. + * scripttemp/fr30.sc: New file. + +Mon Nov 2 14:47:15 1998 Catherine Moore <clm@cygnus.com> + + * ldmain.c (main): Don't report error for dynamic links and + --gc-sections. + +1998-10-26 16:05 Ulrich Drepper <drepper@cygnus.com> + + * lexsup.c (ld_options): Change text of -O to Optimize output file". + (parse_args): Set link_info.optimize based on -O argument. + * ldmain.c (main): Initialize link_info.optimze to false. + * ld.texinfo: Describe -O option. + * ld.1: Likewise. + +Mon Oct 12 14:29:56 1998 Nick Clifton <nickc@cygnus.com> + + * scripttempl/v850.sc: Move .sbss and .scommon sections into their + own segment, so that they can be next to the .bss section and so + initialised by the same piece of code. + +Fri Oct 9 15:59:52 1998 Catherine Moore <clm@cygnus.com> + + * scripttempl/elf.sc: Merge .sdata.* etc sections. + * ldctor.c (ldctor_build_sets): Set SEC_KEEP for + ctor sections. + +Mon Oct 5 09:40:43 1998 Catherine Moore <clm@cygnus.com> + + * ldmain.c (main): Error if --gc-sections and + dyanmic linking. + * scripttempl/v850.sc: Add KEEP attribute to .init, + .fini, .dtors and .ctors. Add .data and .text + wildcards to support section garbage collection. + +Wed Sep 30 11:19:15 1998 Nick Clifton <nickc@cygnus.com> + + * scripttempl/v850.sc: Rename .call_table section to + .call_table_data and create a new section called + .call_table_text. + +Sun Sep 20 00:43:26 1998 Ian Lance Taylor <ian@cygnus.com> + + * scripttempl/elf.sc: Add alignment at the end of the .bss + section, so that it is included in the memsize of the segment. + +Fri Sep 18 13:42:42 1998 Catherine Moore <clm@cygnus.com> + + * emultempl/elf32.em (gld_place_orphan): Don't process for + sections with SEC_EXCLUDE flag. + +Fri Sep 4 09:24:02 1998 Nick Clifton <nickc@cygnus.com> + + * emulparams/d30velf.sh (TEXT_SIZE): Increased to 2000K. + (DATA_SIZE): Increased to 2000K. + +Thu Sep 3 17:30:58 1998 Richard Henderson <rth@cygnus.com> + + * emulparams/d10velf.sh (TEMPLATE_NAME): Use elf32. + +Mon Aug 31 01:06:00 1998 Catherine Moore <clm@cygnus.com> + + * Makefile.am: Change armelf.sc to elf.sc + * Makefile.in: Regenerate. + +Mon Aug 31 11:12:04 1998 Catherine Moore <clm@cygnus.com> + + * emulparams/armelf.sh: Change SCRIPT_NAME to + elf. Change TEXT_START_ADDR to 0x8000. Define + OTHER_TEXT_SECTIONS, OTHER_BSS_SYMBOLS and + OTHER_BSS_END_SYMBOLS. + * scripttempl/elf.sc: Modify to use + OTHER_BSS_END_SYMBOLS. + * scripttempl/elfarm.sc: Remove file. + +Tue Aug 18 12:05:34 1998 Catherine Moore <clm@cygnus.com> + + * emultempl/armelf.em (gld_armelf_before_allocation): + Add bfd_ prefix to elf32_arm_process_before_allocation + and elf32_arm_allocate_interworking_sections. + (gld_armelf_after_open): Add bfd_ prefix to + elf32_arm_get_bfd_for_interworking. + +Fri Aug 14 15:34:29 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am: Rebuild dependencies. + * Makefile.in: Rebuild. + + * ldgram.y: Include "ldctor.h". + (statement): Accept SORT around CONSTRUCTORS. + * ldctor.c: Include <ctype.h>. + (constructors_sorted): New global variable. + (ctor_prio, ctor_cmp): New static functions. + (ldctor_build_sets): Sort constructors if requested. + * ldctor.h (constructors_sorted): Declare. + * ldlang.c (print_statement): Print sorted CONSTRUCTORS + correctly. + * scripttempl/elf.sc: Add sort around CONSTRUCTORS. + * ld.texinfo (Output Section Keywords): Document SORT + (CONSTRUCTORS). + +Thu Aug 13 12:20:39 1998 Catherine Moore <clm@cygnus.com> + + * emulparams/armelf.sh: Define TEMPLATE_NAME to armelf. + * scripttempl/elfarm.sc: Include .glue_7t and .glue7 + sections. + * emultempl/armelf.em: New file. + +Thu Aug 13 12:52:45 1998 H.J. Lu <hjl@gnu.org> + + * Makefile.am (ld.dvi): Use " instead of ' for MAKEINFO. + * Makefile.in: Rebuild. + +Tue Aug 11 16:17:01 1998 Catherine Moore <clm@cygnus.com> + + * scripttempl/elfarm.sc: Change text start address + back to zero. + +Tue Aug 11 10:01:12 1998 Jeffrey A Law (law@cygnus.com) + + * emulparms/mn10200.sh (MAX_PAGESIZE): Define to 1. + * emulparms/mn10300.sh (MAX_PAGESIZE): Define to 1. + +Sun Aug 9 20:31:27 1998 Catherine Moore <clm@cygnus.com> + + * scripttempl/elfarm.sc: Set text start address to + 0x8000. Add __bss_end definition. + +Sat Aug 1 11:47:37 1998 Catherine Moore <clm@cygnus.com> + + * scripttempl/elfarm.sc: New file. + * emulparams/armelf.sh: Set SCRIPT_NAME to elfarm. + +Fri Jul 31 15:56:16 1998 Catherine Moore <clm@cygnus.com> + + * emulparams/armelf.sh: New file. + * configure.tgt: Recognize thumb-elf and arm-elf. + * Makefile.am (earmelf.o): New. + * Makefile.in: Rebuild. + +Fri Jul 24 12:00:57 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (install-exec-local): Don't remove the file before + checking whether $(bindir) == $(tooldir)/bin. From Maciej + W. Rozycki <macro@ds2.pg.gda.pl>. + * Makefile.in: Rebuild. + + * configure.tgt: Recognize h8[35]00*-coff* as well as -hms*. + +Thu Jul 23 11:15:12 1998 Ian Lance Taylor <ian@cygnus.com> + + * scripttempl/aout.sc: If ALIGNMENT is defined, use it to set + alignment of end symbol. + * scripttempl/elf.sc: Likewise. + * emulparams/sun4.sh (ALIGNMENT): Define. + * emulparams/elf32_sparc.sh (ALIGNMENT): Define. + * ldint.texinfo (emulation parameters): Document ALIGNMENT. + + * lexsup.c (parse_args): Add missing break statement. + + * ldlang.c (lang_gc_sections_1): Add default case to switch to + avoid warnings. + +Tue Jul 14 15:42:17 1998 Richard Henderson <rth@cygnus.com> + + * configure.tgt (i?86-*-beos{pe,elf,}*): Recognize. + * Makefile.am (ei386beos.o): New. + * emulparams/i386beos.sh: New file. + * emultempl/beos.em, scripttempl/i386beos.sc: New file. + +Tue Jul 14 15:35:42 1998 Richard Henderson <rth@cygnus.com> + + * lexsup.c: New option --version-exports-section. + * ld.h (struct args_type): Add version_exports_section. + * ldlang.c (lang_do_version_exports_section): New function. + (lang_process): Call it. + +Mon Jul 13 13:20:23 1998 Steve Chamberlain <sac@transmeta.com> + + * ldlex.l: Accept ASSERT. + * ldgram.y (exp): Add ASSERT_K case. + * ldexp.h (node_type): Add etree_assert to node_class enum. + (etree_type): Add assert_s field. + (exp_assert): Declare. + * ldexp.c (exp_fold_tree): Handle etree_assert. + (exp_assert): New function. + (exp_print_tree): Handle etree_assert. + * ld.texinfo (Miscellaneous Commands): Document ASSERT. + +Wed Jul 8 14:03:12 1998 Ian Lance Taylor <ian@cygnus.com> + + * ldgram.y: Change MAX to MAX_K and MIN to MIN_K, to avoid + conflicts with system header files. Change all uses. + + * Makefile.am (MAINTAINERCLEANFILES): Define. + * Makefile.in: Rebuild. + +Tue Jul 7 18:03:22 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (ldver.texi): New target. + (ld.info, ld.dvi): Depend upon ldver.texi. + * ld.texinfo: Include ldver.texi. Mention version number on title + page and in top node. + * Makefile.in: Rebuild. + +Mon Jul 6 14:55:13 1998 Ian Lance Taylor <ian@cygnus.com> + + * configure.tgt (i[3456]86-*-solaris*): New target. + +Fri Jul 3 14:19:06 1998 Ian Lance Taylor <ian@cygnus.com> + + * ldlang.c (wild_section): Don't get an assertion failure if the + section is discarded. + + * scripttempl/pe.sc: Use SORT to sort sections appropriately. + * emultempl/pe.em (sort_by_file_name): Remove. + (sort_by_section_name): Remove. + (sort_sections_1, sort_sections): Remove. + (gld_${EMULATION_NAME}_before_allocation): Don't call + sort_sections. + (hold_section, hold_section_name): New static variables. + (hold_use, hold_text, hold_rdata, hold_data, hold_bss): Likewise. + (gld_${EMULATION_NAME}_place_orphan): Rewrite. Look for a good + place to put the section. Align the section. Sort the input + sections by name. + (gld_${EMULATION_NAME}_place_section): New static function. + + * ldlang.c (wild_sort): When sorting by file name, sort by archive + name first. + + * emultempl/pe.em (set_pe_subsystem): Don't call + ldlang_add_undef. + (gld_${EMULATION_NAME}_after_parse): New static function. + (ld_${EMULATION_NAME}_emulation): Use new after_parse function + rather than after_parse_default. + + * ldgram.y (extern_name_list): Do not require symbols to be + separated by commas. + (ifile_p1): Add EXTERN. + * ldlex.l: Accept EXTERN in BOTH and SCRIPT mode as well as MRI + mode. + * ld.texinfo (Options): Mention that EXTERN is equivalent to -u. + (Miscellaneous Commands): Document EXTERN. + +Wed Jul 1 19:40:34 1998 Richard Henderson <rth@cygnus.com> + + * ld.h (args_type): Add gc_sections. + * ldgram.y (ldgram_had_keep, KEEP): New. + (input_section_spec_no_keep): Rename from old input_section_spec. + (input_section_spec): New. Recognize KEEP. + * ldlang.c (wild_section): Handle keep sections. + (lang_gc_wild_section, lang_gc_wild_file, lang_gc_wild): New. + (lang_gc_sections_1, lang_gc_sections): New. + (lang_process): Invoke lang_gc_sections. + (lang_add_wild): Add keep argument. Update all callers. + * ldlang.h (lang_wild_statement_struct): Add keep_sections. + * ldlex.l (KEEP): Match it. + * ldmain.c (main): Error on -r and --gc-sections. + * lexsup.c: Add --gc-sections. + + * scripttempl/elf.sc: Merge .text.* etc sections appropriately. + Mark startup sections with KEEP. + * scripttempl/elfppc.sc: Likewise. + + * ld.texinfo: Update for --gc-sections and KEEP. + +Wed Jul 1 15:21:20 1998 Ian Lance Taylor <ian@cygnus.com> + + From Peter Jordan <pjordan@chla.usc.edu>: + * scripttempl/i386go32.sc: Correct constructor handling for -u. + +Tue Jun 23 15:17:27 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (install-data-local): Make ldscripts subdirectory. + * Makefile.in: Rebuild. + +Tue Jun 23 15:17:04 1998 Mike Stump <mrs@wrs.com> + + * Makefile.am (install-exec-local): Don't let EXEEXT interfere + with the program transform name. + * Makefile.in: Rebuild. + +Sun Jun 21 23:55:16 1998 Jeffrey A Law (law@cygnus.com) + + * ld.texinfo: Note that -relax may make symbolic debugging + impossible on some platforms. + +Tue Jun 16 12:51:13 1998 Geoff Keating <geoffk@ozemail.com.au> + + * Makefile.am (Makefile): Remove target. + (config.status): New target. + * Makefile.in: Rebuild. + + * configure.host (powerpc*-*-linux-gnu*): New host. + +Fri Jun 12 17:38:07 1998 Doug Evans <devans@seba.cygnus.com> + + * scripttempl/elf.sc (INPUT_FILES): Optional INPUT spec. + + * emulparams/m32relf.sh (OTHER_RELOCATING_SECTIONS): Change top of + stack to 8MB. + +Fri Jun 12 19:33:17 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (HFILES): Remove config.h. + (EMULATION_OFILES, POTFILES): Move patch of May 14 from + Makefile.in to Makefile.am. + (earmcoff.c): Depend upon armcoff.em, not generic.em. + * po/Make-in (all-yes): Correct misspelling in $(PACKAGE). + ($(srcdir)/$(PACKAGE).pot): Pass -C to $(XGETTEXT). + * Makefile.in, po/POTFILES.in, po/ld.pot: Rebuild. + +Fri Jun 12 13:43:17 1998 Tom Tromey <tromey@cygnus.com> + + * po/Make-in (all-yes): If maintainer mode, depend on .pot file. + ($(PACKAGE).pot): Unconditionally depend on POTFILES. + +Tue Jun 9 09:36:48 1998 Nick Clifton <nickc@cygnus.com> + + * ldlang.c (lang_finish): Add CONST type modifier to declaration + of 'send'. + +Fri Jun 5 18:19:59 1998 Ian Lance Taylor <ian@cygnus.com> + + * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set + config.has_shared to true. + * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): + Likewise. + * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): + Likewise. + +Tue Jun 2 12:55:03 1998 Ian Lance Taylor <ian@cygnus.com> + + * ldlang.c (lang_finish): If the entry symbol is not found, try + parsing it as a number. + * ld.texinfo (Options): Document this. + +Mon Jun 1 14:01:20 1998 Ian Lance Taylor <ian@cygnus.com> + + * ld.texinfo (Input Section Wildcards): Document SORT keyword. + +Mon May 18 12:42:53 1998 Doug Evans <devans@canuck.cygnus.com> + + * ld.h (ld_config_type): New member has_shared. + * ldmain.c (main): Initialize it. + * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set it. + * lexsup.c (parse_args): Treat -shared as error if not supported. + +Mon May 18 13:14:43 1998 Ian Lance Taylor <ian@cygnus.com> + + From Jason Merrill <jason@cygnus.com>: + * ldlang.c (wild_sort): Correct order of sort. + * scripttempl/elf.sc: Put *crtbegin.o before other .ctors and + .dtors. + * scripttempl/elfd10v.sc: Likewise. + * scripttempl/elfd30v.sc: Likewise. + * scripttempl/elfppc.sc: Likewise. + +Fri May 15 00:22:35 1998 Ian Lance Taylor <ian@cygnus.com> + + * ldlex.l: Recognize keyword SORT. + * ldgram.y (current_file): Change to struct wildcard_spec. + (%union): Add new fields cname and wildcard. + (wildcard_name, wildcard_spec): New nonterminals. + (file_NAME_list): Use wildcard_spec. + (input_section_spec): Change current_file usage. + * ld.h (struct wildcard_spec): Define. + * ldlang.h (lang_wild_statement_struct): Add new fields + sections_sorted and filenames_sorted. + (lang_add_wild): Update declaration. + * ldlang.c (wild_sort): New static function. + (wild_section): Use wild_sort. + (print_wild_statement): Print sorting information. + (lang_add_wild): Add new parameters sections_sorted and + filenames_sorted. Change all callers. + * mri.c (mri_draw_tree): Update calls to lang_add_wild. + * scripttempl/elf.sc: Sort .ctors.* and .dtors.* by section name. + * scripttempl/elfd10v.sc: Likewise. + * scripttempl/elfd30v.sc: Likewise. + * scripttempl/elfppc.sc: Likewise. + +Thu May 14 18:39:16 1998 Richard Henderson <rth@cygnus.com> + + * emulparams/m32relf.sh (TEMPLATE_NAME): Define. + +Thu May 14 14:51:24 1998 Nick Clifton <nickc@cygnus.com> + + * ldemul.h: Add new prototype: ldemul_list_emulation_options. + (ld_emulation_xfer_struct): Add new field: list_options. + * ldemul.c (ldemul_list_options): New function. Call the + list_options field of the ld_emulation_xfer_struct for each + supported emulation, if such a function is present. + * lexsup.c (help): Call ldemul_list_emulation_options. + * emultempl/pe.em (gld_<>_list_options): New function. Describe + the pe emulation specific command line options. + * emultempl/armcoff.em (gld<>_list_options): New function. + Describe the armcoff emulation specific command line options. + + * emultempl/pe.em: Add a new command line option: + --support-old-code. + * emultempl/armcoff.em: Ditto. + * ld.texinfo: Document the --support-old-code option. + + * Makefile.in: Add emulation files for POTFILES.in target. + * emultempl/pe.em: Internationalise suitable strings. + * emultempl/armcoff.em: Internationalise suitable strings. + * po/POTFILES.in: Rebuilt. + +Sun May 10 22:36:30 1998 Jeffrey A Law (law@cygnus.com) + + * po/Make-in (install-info): New target. + +Tue Apr 28 19:18:30 1998 Tom Tromey <tromey@cygnus.com> + + * ldmain.c (main): Conditionally call setlocale. + * ld.h: Include <locale.h> if HAVE_LOCALE_H. + (LC_MESSAGES): Now can be defined even when ENABLE_NLS. + Mon Apr 27 11:56:21 1998 Ian Lance Taylor <ian@cygnus.com> - * configure.in: Set version number to 2.9.1. + * configure.in: Change version number to 2.9.4 * configure: Rebuild. + * ld.texinfo (Options) [-rpath-link]: Mention ld.so.conf. + Based on patch from H.J. Lu <hjl@gnu.org>: * emultempl/elf32.em (global_vercheck_needed): New file static variable. @@ -16,6 +2016,66 @@ Mon Apr 27 11:56:21 1998 Ian Lance Taylor <ian@cygnus.com> whether the libraries needs any incompatible versions. (gld${EMULATION_NAME}_vercheck): New static function. +Wed Apr 22 16:01:35 1998 Tom Tromey <tromey@cygnus.com> + + * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir). + +Wed Apr 22 12:40:56 1998 Ian Lance Taylor <ian@cygnus.com> + + * Makefile.am (check-DEJAGNU): Add $(INTLLIBS) to LIBIBERTY when + invoking runtest. + * Makefile.in: Rebuild. + + * lexsup.c (parse_args): Change -l options into --library options + to avoid confusion between -li and -library. + + * ld.texinfo (MEMORY): Clarify use of >REGION. + +Tue Apr 21 23:12:40 1998 Tom Tromey <tromey@scribbles.cygnus.com> + + * Many files: Added gettext invocations around user-visible + strings. + * ld.h: Added gettext-related includes and defines. + * ldmain.c: Call setlocale, bindtextdomain, textdomain. + * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY, + HAVE_LC_MESSAGES): Define. + * configure.in: Call CY_GNU_GETTEXT. Create po/Makefile.in and + po/Makefile. Use AM_PROG_LEX. + (TDIRS): AC_SUBST early on, to avoid having value split when it + happens to cross line 90 of the generated sed script. + * Makefile.am (SUBDIRS): New macro. + (POTFILES): Likewise. + (po/POTFILES.in): New target. + (ld_new_LDADD): Added INTLLIBS. + (ld_new_DEPENDENCIES): Added INTLDEPS. + * po/Make-in, po/POTFILES.in, po/gas.pot: New files. + +Tue Apr 21 23:07:07 1998 Ian Lance Taylor <ian@cygnus.com> + + * ld.texinfo (Simple Example): Rewrite a few things as suggested + by Nick Clifton <nickc@cygnus.com>. + (PROVIDE): Likewise. + +Tue Apr 21 09:55:06 1998 Nick Clifton <nickc@cygnus.com> + + * emultempl/pe.em: Rename external arm interworking functions + to conform to BFD naming conventions. Add code to _after_open() + function to obtain a bfd for use by the interworking code. + + * emultempl/armcoff.em: Rename external arm interworking functions + to conform to BFD naming conventions. Add new _after_open() + function to obtain a bfd for use by the interworking code. + +Sun Apr 19 19:23:09 1998 Richard Henderson <rth@cygnus.com> + + * ldlang.c (lang_size_sections) [case lang_assignment_statement_enum]: + Update dot and the default memory section even when relaxing. + +Sat Apr 18 18:41:12 1998 Richard Henderson <rth@cygnus.com> + + * ldlang.c (lang_one_common): Manipulate the section's cooked size + rather than its raw size. + Tue Apr 7 13:35:29 1998 H.J. Lu <hjl@gnu.org> * configure.in (TESTBFDLIB): New. Defined and substituted. @@ -37,21 +2097,27 @@ Sun Apr 5 13:07:57 1998 Ian Lance Taylor <ian@cygnus.com> * scripttempl/pe.sc: Use shell variables to avoid depending upon how $ is handled when expanding a shell substitution. -Fri Apr 3 13:31:46 1998 Ian Lance Taylor <ian@cygnus.com> +Fri Apr 3 00:56:50 1998 Ian Lance Taylor <ian@cygnus.com> * Makefile.am (MOSTLYCLEANFILES): Add ld.log and ld.sum. - (DISTCLEANFILES): Define with site.exp and site.bak. + (DISTCLEANFILES): Add site.exp and site.bak. * Makefile.in: Rebuild. - * Makefile.am (DISTCLEANFILES): Remove. + * configure.in: Put the tdirs in a file and use AC_SUBST_FILE, + rather than in a shell variable and using AC_SUBST. + * Makefile.am (DISTCLEANFILES): Remove ldscripts. Add tdirs. (distclean-local): New target. - * Makefile.in: Rebuild. + * configure, Makefile.in: Rebuild. + + * ld.texinfo: Completely rewrite linker script documentation. -Mon Mar 30 16:12:48 1998 Ian Lance Taylor <ian@cygnus.com> +Mon Mar 30 12:47:33 1998 Ian Lance Taylor <ian@cygnus.com> - * configure.in: Set version number to 2.9. + * configure.in: Set version to 2.9.1. * configure: Rebuild. + * Branched binutils 2.9. + Sat Mar 28 16:48:19 1998 Ian Lance Taylor <ian@cygnus.com> * Makefile.am (MOSTLYCLEANFILES): Remove tmpdir. @@ -131,6 +2197,12 @@ Mon Mar 2 19:24:08 1998 Michael Meissner <meissner@cygnus.com> * ldlang.c (lang_size_sections): If the default memory region is *default*, see if there is a memory region that could be used. +Thu Feb 26 17:09:53 1998 Michael Meissner <meissner@cygnus.com> + + * scripttempl/elfd30v.sc: Add support for .eit_v section and put + it at 0xfffff020. + * emulparams/d30v{elf,_o,_e}.sh: Ditto. + Mon Feb 23 17:46:51 1998 Ian Lance Taylor <ian@cygnus.com> * emultempl/pe.em (sort_sections): Permit the wildcard to include @@ -250,7 +2322,7 @@ Wed Jan 28 14:06:30 1998 Richard Henderson <rth@cygnus.com> * emulparams/elf64_sparc.sh (ELFSIZE): 64 (TEXT_START_ADDR): Round off, since SIZEOF_HEADERS is added later. (DATA_PLT): Needed by v9 abi. - + Wed Jan 28 16:37:27 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl> * configure.tgt (i[3456]86-*-mingw32*): New entry. @@ -318,6 +2390,17 @@ Fri Jan 2 20:15:37 1998 Michael Meissner <meissner@cygnus.com> (lang_set_flags): Update prototype to match new calling sequence. (lang_memory_region_default): Add prototype. + * emulparams/d30v{_e,_o,elf}.sh ({TEXT,DATA,EMEM}_DEF_SECTION): + Define whether or not the region gets default sections, and if so, + what sections. + + * scripttempl/elfd30v.sc (MEMORY): Set up which of the regions get + default sections. + +Thu Jan 1 22:58:04 1998 Michael Meissner <meissner@cygnus.com> + + * scripttempl/elfd30v.sc (.eh_frame): Link into the data section. + Thu Jan 1 18:04:51 1998 Jeffrey A Law (law@cygnus.com) * scripttempl/h8300h.sc: Fix typo. @@ -335,22 +2418,71 @@ Wed Dec 17 12:14:11 1997 Ian Lance Taylor <ian@cygnus.com> multiple times on the same argument and confuse the getopt internals. +Thu Dec 11 09:00:15 1997 Michael Meissner <meissner@cygnus.com> + + * configure.tgt (d30v-elf-*): Rename d30velf_e to d30v_e and + d30velf_o to d30v_o to work in DOS environments. + * Makefile.{am,in}: Ditto. + + * emulparams/d30v_{o,e}: Rename from d30velf_{o,e}. + * emulparams/d30velf_{o,e}: Deleted. + Wed Dec 10 17:40:08 1997 Nick Clifton <nickc@cygnus.com> * scripttempl/armcoff.sc: Add glue sections (code taken from Arm - branch). + branch). * emulparams/armcoff.sh (TEMPLATE_NAME): Set to armcoff. * emultempl/armcoff.em: New file, imported from Arm branch. +Wed Dec 10 14:10:44 1997 Michael Meissner <meissner@cygnus.com> + + * scripttempl/elfd30v.sc: Add .rel and .rela sections for all + defined sections. Set up __{D,C}TOR_{LIST,END}__. Add onchip and + external memory sections for rodata. Delete .string, .rodata1, + and .data1 sections. + Tue Dec 9 15:28:17 1997 Michael Meissner <meissner@cygnus.com> * Makefile.am: Add Oct 23 changes to Makefile.in here. * Makefile.{am,in}: (ALL_EMULATIONS): Add ed10velf.o. - + * Makefile.{am,in}: (ALL_EMULATIONS): Add etic80coff.o. + + * Makefile.{am,in}: (ALL_EMULATIONS): Add ed30velf{,_e,_o}.o. + (ed30velf_e.c): Like d30velf, except .text/.data/etc always go in + external memory. + (ed30velf_o.c): Like d30velf, except .text/.data/etc always go in + onchip memory. + + * emulparams/d30velf.sh (STACK_START_ADDR): Top of default + stack. + ({TEXT,DATA,EMEM}_SIZE): Sizes of the 3 memory areas. + ({TEXT,DATA,BSS}_MEMORY): Which memory region .text, .data, and + .bss should go in. + + * emulparams/d30velf_{e,o}.sh: New files to be explicit whether + .text, .data, etc go in external memory or onchip memory. + + * configure.tgt (d30v-*-*ext*): New configuration to default + .text, .data, etc. in external memory. + (d30v-*-*onchip*): New configuration to default .text, .data, + etc. in onchip memory. + (d30v-*-*): Add d30velf_{e,o} emulations. + + * scripttempl/elfd30v.sc: Allow .text, .data, .bss to be put in + either the onchip text/data areas or the external memory area. + (MEMORY): Get sizes from d30velf.sh. + (.e{data,text,bss}): Put sections in the external memory region. + (.stext): Put section in the onchip text region. + (.s{data,bss}): Put sections in the onchip data region. + (__stack): Assign from ${STACK_START_ADDR}. + (.text): Put in ${TEXT_MEMORY} memory region. + (.data{,1}/.strings/.rodata{,1}): Put in ${DATA_MEMORY} memory + region. + (.bss): Put in ${BSS_MEMORY} memory region. Tue Dec 2 10:14:47 1997 Nick Clifton <nickc@cygnus.com> @@ -363,6 +2495,18 @@ Sat Nov 22 15:23:19 1997 Ian Lance Taylor <ian@cygnus.com> correctly. Pass 0 rather than hex_mode to bfd_scan_vma. * ldlex.h (hex_mode): Don't declare. +Sun Nov 16 20:16:45 1997 Michael Meissner <meissner@cygnus.com> + + * emulparams/d30velf.sh ({DATA,EMEM}_START_ADDR): Define as start + of internal data area and external memory on chip. + + * scripttempl/elfd30v.sc: Define a MEMORY region that describes + the 3 regions of memory on the chip. Put .text/.init/.fini into + the text memory region, put other segments into the data memory + region. Add more of the standard elf sections. Default __stack + to be 0x20008000, which is 1 byte beyond end of the internal data + region. + Thu Nov 13 13:45:00 1997 Andrew Cagney <cagney@b1.cygnus.com> * configure.tgt (targ_extra_emuls): Make FreeBSD a i386bsd @@ -448,7 +2592,7 @@ Thu Oct 2 18:40:28 1997 Ian Lance Taylor <ian@cygnus.com> Wed Oct 1 16:41:00 1997 Nick Clifton <nickc@cygnus.com> * emulparams/v850.sh (ROZDATA_START_ADDR, ROSDATA_START_ADDR): New - Variables. + Variables. * scripttempl/v850.sc: Move read only areas out of zero and small data sections and into their own sections. @@ -474,6 +2618,17 @@ Wed Sep 17 16:45:34 1997 Nick Clifton <nickc@cygnus.com> * Makefile.am, Makefile.in: Add rule for ev850.c * configure.tgt (targ_extra_emuls): Add v850 target. +Wed Sep 17 16:43:39 1997 Nick Clifton <nickc@cygnus.com> + + * emulparams/v850.sh (CALL_TABLE_START_ADDR): New entry. + * scripttempl/v850.sc: Add call table data area + +Mon Sep 15 11:29:13 1997 Ken Raeburn <raeburn@cygnus.com> + + Merge change from Martin Hunt: + + * scripttempl/elfd30v.sc: Put .rodata in the .text section. + Tue Sep 9 07:49:56 1997 Fred Fish <fnf@ninemoons.com> * ldlang.c (lang_memory_region_lookup): Remove extraneous @@ -516,6 +2671,13 @@ Wed Aug 20 11:14:13 1997 Ian Lance Taylor <ian@cygnus.com> * ld.texinfo (Section Definition): Clarify use of whitespace. (Section Placement): Likewise. +Mon Aug 18 11:12:03 1997 Nick Clifton <nickc@cygnus.com> + + * configure.tgt (targ_extra_emuls): Add support for v850e target. + +Mon Aug 18 11:12:03 1997 Nick Clifton <nickc@cygnus.com> + + * configure.tgt (targ_extra_emuls): Add support for v850e target. Sat Aug 9 00:42:27 1997 Ian Lance Taylor <ian@cygnus.com> @@ -681,6 +2843,13 @@ Mon May 5 18:19:55 1997 Philip Blundell <pjb27@cam.ac.uk> * configure.tgt, configure.host: cope with '*-*-linux-gnuaout' targets. +Fri May 2 15:54:28 1997 Mike Meissner <meissner@cygnus.com> + + * scripttempl/tic80coff.sc (.text): Add a leading underscore to + __{D,C}TOR_{LIST,END}__ definations. Rearrange the order of items + in the .text section. Move .const, .ctors, .dtors into separate + sections. + Wed Apr 30 12:23:21 1997 Manfred Hollstein <manfred@s-direktnet.de> * scripttempl/m88kbcs.sc (__.initp.end, _etext): Added whitespace @@ -826,12 +2995,26 @@ Sun Mar 9 23:06:35 1997 Eric Youngdale <eric@andante.jic.com> * ldgram.y (vers_node): Correct typo of '(' for '{'. +Fri Mar 7 18:40:12 1997 Fred Fish <fnf@cygnus.com> + + * scripttempl/tic80coff.sc (ENTRY): Entry symbol is __start + rather than _start. + (__edata): Define this rather than "edata". + (__end): Define this rather than "end". + +Tue Mar 4 17:18:35 1997 Michael Meissner <meissner@cygnus.com> + + * configure.tgt (tic80-*-*): Allow dropping of -coff. + Sun Mar 2 22:59:49 1997 Fred Fish <fnf@cygnus.com> * Makefile.in (ld.dvi): Set MAKEINFO environment variable as well as TEXINPUTS. Needed for building in separate build dir. * ldint.texinfo (SCRIPT_NAME): Fix typo. - + * emulparams/tic80coff.sh: Rewrite to include internal documentation + about each shell variable that is set (or not set). + * scripttempl/tic80coff.sc: Complete rewrite. + Fri Feb 28 17:42:27 1997 Ian Lance Taylor <ian@cygnus.com> * ldmain.c (main): Call bfd_set_default_target. @@ -906,6 +3089,13 @@ Mon Feb 24 18:16:09 1997 Ian Lance Taylor <ian@cygnus.com> * scripttempl/elf.sc: Add .gnu.version sections. * ld.texinfo: Document symbol versioning. +Fri Feb 21 17:37:51 1997 Martin M. Hunt <hunt@pizza.cygnus.com> + + * Makefile.in (ed30velf.c): New target. + * configure.tgt (d30v-*-*): New target. + * emulparams/d30velf.sh: New file. + * scripttempl/elfd30v.sc: New file. + Fri Feb 14 18:28:31 1997 Ian Lance Taylor <ian@cygnus.com> * ld.texinfo (Option Commands): Document the INCLUDE command. @@ -925,6 +3115,13 @@ Tue Feb 11 15:34:26 1997 Ian Lance Taylor <ian@cygnus.com> * scripttempl/elfmips.sc: When relocating, put .mips16.fn.* and .mips16.call.* in .text. +Sun Feb 9 18:09:13 1997 Fred Fish <fnf@cygnus.com> + + * emulparams/tic80coff.sh: New (dummy) file for TIc80. + * scripttempl/tic80coff.sc: New (dummy) file for TIc80. + * Makefile.in (etic80coff.c): Add target and rule to build it. + * configure.tgt (tic80-*-coff): Set targ_emul to tic80coff. + Fri Jan 31 13:16:53 1997 Ian Lance Taylor <ian@cygnus.com> * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Search for @@ -1045,7 +3242,7 @@ Fri Dec 13 14:08:50 1996 Michael Meissner <meissner@tiktok.cygnus.com> where the different sections go. Change some whitespace. * emulparams/v850.sh ({TEXT,{Z,S,T}DATA}_START_ADDR): Define - appropriately. Remove crud not used anymore. + appropriately. Remove crud not used anymore. Fri Dec 13 10:19:57 1996 Jeffrey A Law (law@cygnus.com) @@ -1108,7 +3305,7 @@ Tue Nov 5 10:57:50 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * emulparams/d10velf.sh (READONLY_START_ADDR): Changed to 0x2000004. (EMBEDDED): Define. - + Fri Nov 1 10:01:27 1996 Ian Lance Taylor <ian@cygnus.com> * ld.texinfo: Add section on reporting bugs. @@ -1123,10 +3320,10 @@ Thu Oct 31 09:28:59 1996 Jeffrey A Law (law@cygnus.com) Tue Oct 29 12:33:05 1996 Martin M. Hunt <hunt@pizza.cygnus.com> - * emulparams/d10velf.sh: Changes needed for D10V-EVA board. - Set TEXT_START_ADDR to 0x1000000. Set READONLY_START_ADDR to + * emulparams/d10velf.sh: Changes needed for D10V-EVA board. + Set TEXT_START_ADDR to 0x1000000. Set READONLY_START_ADDR to 0x2000000. - + * scripttempl/elfd10v.sc: Fix calculation of .text. Change .stack to start at 0x2007ffe. @@ -1895,7 +4092,7 @@ Thu May 9 08:52:23 1996 Rob Savoye <rob@chinadoll.cygnus.com> * emulparams/{elf32bmip.sh,elf32lmip.sh,mipsidt.sh,mipsidtl.sh}: Set a new variable to signify if the final target is an embedded - system. + system. * scripttempl/{mips.sc,elfmips.sc}: Don't add SIZEOF_HEADERS to .text for an embedded system. @@ -2438,7 +4635,7 @@ Wed Jan 31 17:30:19 1996 Steve Chamberlain <sac@slash.cygnus.com> * configure.tgt (i[345]86-*-cygwin32, powerpcle-*-cygwin32): New. * emultempl/pe.em (definfo init): Make the default stack reserve of a PPC larger. - + Wed Jan 31 14:34:23 1996 Richard Henderson <rth@tamu.edu> * configure.tgt (m68*-apple-aux*): New target. @@ -2866,7 +5063,7 @@ Fri Oct 27 18:03:17 1995 Niklas Hallqvist <niklas@appli.se> m88kbcs,mipsbig,mipsbsd,mipsidt,mipsidtl,mipslit,news,ns32knbsd, pc532machaout,riscix,sa29200,sh,shl,sparclynx,sparcnbsd, st2000,sun3,sun4,vanilla,vax,vsta,w65,z8001,z8002}.sh: Changed - PAGE_SIZE to TARGET_PAGE_SIZE. + PAGE_SIZE to TARGET_PAGE_SIZE. * emulparams/m68knbsd.h: Ditto. (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR): We have 8K pagesize. @@ -2876,7 +5073,7 @@ Fri Oct 27 18:03:17 1995 Niklas Hallqvist <niklas@appli.se> * emulparams/m68k4knbsd.sh: New file. * scripttempl/aout.sc: Expand EXECUTABLE_SYMBOLS if relocating. - + Fri Oct 27 17:59:09 1995 Ian Lance Taylor <ian@cygnus.com> * emultempl/aix.em: Include ldctor.h. @@ -2903,7 +5100,7 @@ Fri Oct 27 17:59:09 1995 Ian Lance Taylor <ian@cygnus.com> new name parameter. (constructor_callback): Pass name to ldctor_add_new_set_entry for new name parameter. - + * ldmisc.c (demangle): Fix indentation. Remove a leading period. Thu Oct 26 22:22:49 1995 Stan Shebs <shebs@andros.cygnus.com> @@ -3318,7 +5515,7 @@ Mon Aug 21 18:30:42 1995 steve chamberlain <sac@slash.cygnus.com> (set_pe_value): New function. Thu Aug 17 13:35:49 1995 steve chamberlain <sac@slash.cygnus.com> - + * emultempl/{armpe.sc, i386pe.sc}: Deleted. * emultempl/pe.sc: New file performs generic PE support and sorts @@ -3338,7 +5535,7 @@ Wed Aug 16 11:38:59 1995 steve chamberlain <sac@slash.cygnus.com> * scripttempl/armpe.sc: Always start code at 0x401000, even if -r. * ldwrite.c (strdup): New extern declaration. - * ldgram.y (atype): New rule to clarify type parsing. + * ldgram.y (atype): New rule to clarify type parsing. * ldlang.c (init_os): Remove commented out code. (lang_size_sections): Set SEC_ALLOC and SEC_LOAD bits unless told not to by the link script. @@ -3875,7 +6072,7 @@ Thu Mar 2 14:34:43 1995 Ian Lance Taylor <ian@cygnus.com> Doc note from pierre@phi.la.tce.com (Pierre Willard): * ld.texinfo: -X and -x work even if -s or -S are not specified. - * ld.1: Similar change. + * ld.1: Similar change. Wed Mar 1 13:51:16 1995 Ian Lance Taylor <ian@cygnus.com> @@ -4177,7 +6374,7 @@ Mon Oct 31 19:35:17 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> Wed Oct 26 13:59:12 1994 J.T. Conklin (jtc@phishhead.cygnus.com) - * Makefile.in (ALL_EMULATIONS): Added ei386nbsd.o, ens32knbsd.o + * Makefile.in (ALL_EMULATIONS): Added ei386nbsd.o, ens32knbsd.o and esparcnbsd.o; sorted entries. (ei386nbsd.c,ens32knbsd.c,esparcnbsd.c): New targets. @@ -4186,7 +6383,7 @@ Wed Oct 26 13:59:12 1994 J.T. Conklin (jtc@phishhead.cygnus.com) * config/{i386-nbsd.mt,ns32k-nbsd.mt,sparc-nbsd.mt}: New files. * emulparams/{i386nbsd.sh,ns32knbsd.sh,sparcnbsd.sh}: New files. - * configure.in (i[345]86-*-netbsd*, ns32k-pc532-netbsd*, + * configure.in (i[345]86-*-netbsd*, ns32k-pc532-netbsd*, sparc*-*-netbsd*): Use above configs. Tue Oct 25 11:47:10 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> @@ -4215,7 +6412,7 @@ Fri Oct 14 14:35:38 1994 J.T. Conklin (jtc@rtl.cygnus.com) * config/{i386,ppc}-nw.mt, emulparams/{i386,ppc}nw.sh, scripttempl/nw.sc: New files, for i386 and powerpc netware. - + * configure.in: Changed netware ld_target name to be {i386,ppc}-nw instead of {i386,ppc}-elf. @@ -4597,7 +6794,7 @@ Wed Jul 20 15:49:27 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) Sun Jul 10 00:33:24 1994 Ian Dall (dall@hfrd.dsto.gov.au) * emulparams/pc532machaout.sh: New file. Pc532 mach script - parameters. + parameters. * emulparams/netbsd532.sh: New file. Netbsd 532 script parameters. @@ -4860,7 +7057,7 @@ Thu Jun 9 08:35:17 1994 Ian Lance Taylor (ian@cygnus.com) Thu Jun 9 06:52:29 1994 Bill Cox (bill@rtl.cygnus.com) * Makefile.in (check): Delete ld.new dependency so that a regression - test doesn't trigger a rebuild of the linker. + test doesn't trigger a rebuild of the linker. Thu Jun 9 00:17:20 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) @@ -5466,7 +7663,7 @@ Thu Feb 17 15:51:23 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) Thu Feb 17 09:32:14 1994 David J. Mackenzie (djm@thepub.cygnus.com) * ldlang.c, ldmain.c, ldmisc.c: Use bfd_get_error and - bfd_set_error and new error names. + bfd_set_error and new error names. Tue Feb 15 20:14:53 1994 Ken Raeburn (raeburn@cujo.cygnus.com) @@ -5522,7 +7719,7 @@ Sun Feb 6 20:31:56 1994 David J. Mackenzie (djm@thepub.cygnus.com) Call xmalloc_set_program_name. * ldlang.c (lang_size_sections): Check if bfd_relax_section set - bfd_errno. + bfd_errno. Sat Feb 5 03:54:34 1994 David J. Mackenzie (djm@thepub.cygnus.com) @@ -5585,9 +7782,9 @@ Thu Jan 27 17:19:54 1994 Steve Chamberlain (sac@jonny.cygnus.com) Thu Jan 27 12:35:01 1994 David J. Mackenzie (djm@thepub.cygnus.com) - * ldmain.c ldmain.h ldgram.y: If -v -V or --version was given, + * ldmain.c ldmain.h ldgram.y: If -v -V or --version was given, exit successfully instead of complaining if no input files are - given. + given. Tue Jan 25 13:19:41 1994 Stan Shebs (shebs@andros.cygnus.com) @@ -5862,7 +8059,7 @@ Wed Dec 1 14:04:20 1993 Ken Raeburn (raeburn@cygnus.com) * Makefile.in (ALL_EMULATIONS): Add em_coff_sparc.o. (em_coff_sparc.c): Add dependencies and build rules. - * ldmisc.c (errno, sys_nerr, sys_errlist): Don't declare. + * ldmisc.c (errno, sys_nerr, sys_errlist): Don't declare. Wed Dec 1 12:19:55 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) @@ -5916,7 +8113,7 @@ Fri Nov 5 09:02:52 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com) Fri Nov 5 21:47:55 1993 David J. Mackenzie (djm@thepub.cygnus.com) - * emulparams/i386mach.sh (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR): + * emulparams/i386mach.sh (TEXT_START_ADDR, NONPAGED_TEXT_START_ADDR): Correct values (?). Wed Nov 3 15:10:15 1993 Ken Raeburn (raeburn@rover.cygnus.com) @@ -6125,7 +8322,7 @@ Sun Sep 12 16:04:40 1993 Doug Evans (dje@cygnus.com) Fri Sep 10 09:36:29 1993 Jeffrey Wheat (cassidy@cygnus.com) - * Makefile.in: Changed CXX back to g++. + * Makefile.in: Changed CXX back to g++. Fri Sep 10 09:34:29 1993 Jeffrey Wheat (cassidy@cygnus.com) @@ -6368,7 +8565,7 @@ Thu Jul 15 12:44:35 1993 David J. Mackenzie (djm@thepub.cygnus.com) * ldmain.c (set_scripts_dir): Don't look in "." first. * ldgram.y, ldlang.c, ldsym.c: Remove traces of unused var - option_longmap. + option_longmap. Thu Jul 15 10:55:59 1993 Ian Lance Taylor (ian@cygnus.com) @@ -6453,7 +8650,7 @@ Mon Jul 5 14:29:48 1993 Ian Lance Taylor (ian@cygnus.com) Fri Jul 2 18:06:05 1993 David J. Mackenzie (djm@thepub.cygnus.com) * genscripts.sh: Put the scripts in the ldscripts directory, not - emulations. + emulations. * configure.in (ldscripts): Make, instead of emulations. * Makefile.in (scriptdir): Take off the "ld" part. (install, clean, distclean): Use ldscripts, not emulations. @@ -6509,7 +8706,7 @@ Mon Jun 21 16:38:35 1993 David J. Mackenzie (djm@thepub.cygnus.com) * ldlang.h: Change prototype. Thu Jun 17 16:53:56 1993 david d `zoo' zuhn (zoo@cygnus.com) - + * Makefile.in: canonicalize install.sh; for use within this directory (and subdirs) @@ -6597,7 +8794,7 @@ Mon Jun 7 12:53:28 1993 Per Bothner (bothner@rtl.cygnus.com) Fri Jun 4 16:18:24 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com) - * Makefile.in: remove install:all and install-info:info + * Makefile.in: remove install:all and install-info:info dependencies (these cause some spurious rebuilds at 'make install' time) @@ -6888,7 +9085,7 @@ Fri Jan 8 14:39:07 1993 Steve Chamberlain (sac@thepub.cygnus.com) Fix support for NOLOAD, add INCLUDE * ldfile.c (ldfile_open_command_file): pass file name to lex_push_file. - * ldlex.l, ldgram.y: tidy up, parse INCLUDE and NOLOAD + * ldlex.l, ldgram.y: tidy up, parse INCLUDE and NOLOAD * ldlang.c (wild_doit): make output sections inherit NEVER_LOAD attribute. @@ -6993,7 +9190,7 @@ Thu Oct 15 15:20:26 1992 Steve Chamberlain (sac@thepub.cygnus.com) Thu Oct 8 09:05:25 1992 Steve Chamberlain (sac@thepub.cygnus.com) - * ldmisc.c (demangle,vfinfo): use the new underscore in bfd to + * ldmisc.c (demangle,vfinfo): use the new underscore in bfd to to demangle symbols better Tue Oct 6 13:08:54 1992 Ian Lance Taylor (ian@cygnus.com) @@ -7008,7 +9205,7 @@ Mon Oct 5 14:07:37 1992 Ian Lance Taylor (ian@cygnus.com) Mon Oct 5 08:55:14 1992 Steve Chamberlain (sac@thepub.cygnus.com) - * ldmain.c (linear_library): don't even think about processing + * ldmain.c (linear_library): don't even think about processing an object file if it's already been done Thu Oct 1 23:14:59 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) @@ -7125,8 +9322,8 @@ Wed Aug 26 17:28:51 1992 Steve Chamberlain (sac@thepub.cygnus.com) * ldwrite.c (ldwrite): use malloc to allocate the largest space used, and pass that down. * relax.c,relax.h (write_relaxnorel): use the passed malloc area rather - than alloca. - + than alloca. + Mon Aug 24 14:42:06 1992 Ian Lance Taylor (ian@cygnus.com) * configure.in, config/ose68.mt: renamed OSE to ose. @@ -7146,7 +9343,7 @@ Thu Aug 13 11:49:34 1992 Steve Chamberlain (sac@thepub.cygnus.com) * ldlex.l: now parses comment correctly, added ~ to acceptable chars in filenames - + * ldexp.c (exp_unop): pass down abs_output_section - now can have unary -ve constants. @@ -7198,7 +9395,7 @@ Fri Jul 17 22:06:11 1992 K. Richard Pixley (rich@rtl.cygnus.com) Tue Jul 14 08:34:34 1992 Steve Chamberlain (sac@thepub.cygnus.com) * ldlang.c (lang_map): print changes in sizes due to relaxing - (size_input_section): maintain the delta information. + (size_input_section): maintain the delta information. * ldlang.h: add new field to struct to contain delta info. * relax.c (relax_section): complain if input not relaxable. * ldlex.l : add '_', ',' and '$' to chars which can appear at the @@ -7213,7 +9410,7 @@ Wed Jul 1 17:51:19 1992 Steve Chamberlain (sac@thepub.cygnus.com) * ldmain.c (Q_enter_global_ref), ldindr.c (add_indirect): fix for aliasing problems - + Thu Jun 18 09:38:56 1992 Steve Chamberlain (sac@thepub.cygnus.com) @@ -7299,7 +9496,7 @@ Tue May 5 17:47:33 1992 Steve Chamberlain (sac@thepub.cygnus.com) * ldmain.c (main): take out ./ from library path, and close file before unlinking. Make multiple defs of a symbol create an unexecable file. - * ldmisc.c: fatal errosrs delete output file + * ldmisc.c: fatal errosrs delete output file Tue May 5 14:05:05 1992 Per Bothner (bothner@rtl.cygnus.com) @@ -7375,7 +9572,7 @@ Thu Apr 9 05:52:02 1992 Ken Raeburn (Raeburn@Cygnus.COM) Sat Apr 4 17:44:06 1992 Steve Chamberlain (sac@thepub.cygnus.com) - * ldlex.l, ldgram.y, ldlex.h: Rewrote lexer. Now it's much nicer. + * ldlex.l, ldgram.y, ldlex.h: Rewrote lexer. Now it's much nicer. * h8300*: fix bit rot and add support for h8300xray target * go32.sh: target emulation for go32. @@ -7427,7 +9624,7 @@ Fri Feb 28 08:17:45 1992 Steve Chamberlain (sac at thepub.cygnus.com) Thu Feb 27 09:20:41 1992 Steve Chamberlain (sac at thepub.cygnus.com) - + * cplus-dem.c: yet another copy of this - maybe it should go into libiberty ? * ldgram.y: now -V and -v have different actions @@ -7514,7 +9711,7 @@ Thu Feb 6 11:40:15 1992 Steve Chamberlain (sac at rtl.cygnus.com) * config/mt-coff-h8300: use EMUL like everything else * ldlang.c: (print_padding_statement): print the right address. * Makefile.in, config.h, ldemul.c: renamed h8300hds to h8300hms - + Tue Feb 4 15:28:01 1992 Steve Chamberlain (sac at rtl.cygnus.com) @@ -7594,7 +9791,7 @@ Sat Dec 7 17:19:26 1991 Steve Chamberlain (sac at rtl.cygnus.com) * ldfile.c: include ctype.h * ldmain.c: include the requried prototype headers * ldwrite.c: get_reloc_upper_bound has been renamed - bfd_get_reloc_upper_bound + bfd_get_reloc_upper_bound Fri Dec 6 23:29:26 1991 K. Richard Pixley (rich at rtl.cygnus.com) @@ -7640,7 +9837,7 @@ Thu Nov 14 19:55:09 1991 Per Bothner (bothner at cygnus.com) Wed Nov 13 15:17:43 1991 Per Bothner (bothner at cygnus.com) * Makefile.in: Rename .c files generated from ldtemplate - to have names starting with ld__. This helps 'make clean'. + to have names starting with ld__. This helps 'make clean'. Tue Nov 12 18:36:50 1991 Steve Chamberlain (sac at cygnus.com) @@ -7687,7 +9884,7 @@ Wed Oct 16 12:27:08 1991 Per Bothner (bothner at cygnus.com) ldgram.y, ldlex.l, ldlnk960.c, ldmain.c, ldmisc.c, ldmisc.h, ldsym.c, ldsym.h, ldtemplate, ldvanilla.c, ldver.c, ldver.h, ldwarn.c, ldwarn.h, ldwrite.c, ldwrite.h, mkscript.c: - Add or update copyright notices. + Add or update copyright notices. Mon Oct 14 23:55:27 1991 Per Bothner (bothner at cygnus.com) @@ -7774,7 +9971,7 @@ Tue Oct 8 14:51:21 1991 Roland H. Pesch (pesch at cygnus.com) Fri Oct 4 21:51:58 1991 John Gilmore (gnu at cygnus.com) * Makefile.in: Avoid using $< in non-suffix rules (breaks on Sun - Make). + Make). * ldfile.c, ldlang.c, ldmain.c, ldwrite.c: Cope with renames of a few BFD types & enums. |