aboutsummaryrefslogtreecommitdiff
path: root/ld/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2003-03-12 * deffilep.y (def_lex): Accept '.' as valid non-lead char.Danny Smith1-0/+4
2003-03-08* configure.tgt: Add NATIVE_LIB_DIRS for cygwin target back after apparentChristopher Faylor1-0/+5
accidental removal on 2003-01-06.
2003-03-04Add new devices x1122 x1132 emulation.Nick Clifton1-0/+8
2003-03-03* ldmain.c (set_scripts_dir): Look for relative to TOOLBINDIR asAlexandre Oliva1-0/+3
well.
2003-03-03* ldfile.h (struct search_dirs): Added sysrooted field.Alexandre Oliva1-0/+17
* ldlang.h (struct lang_input_statement_struct): Likewise. * ldfile.c (ldfile_add_library_path): Mark sysrooted paths. (ldfile_open_file_search): Look for sysrooted filename starting with / in ld_sysroot instead of in the current directory. Clear sysrooted flag if it's found in the current directory. Set it from the search directory's sysrooted flag where it is found otherwise. * ldlang.c (ldlang_sysrooted_script): New static variable. (new_afile): Mark search_file_enums as sysrooted if ldlang_sysrooted_script. (load_symbols): Set ldlang_sysrooted_script according to the script's sysrooted field while processing it. * ld.texinfo: Document INPUT behavior in sysroot.
2003-03-03* scripttempl/pe.sc: Use PROVIDE with etext, end, _end,Christopher Faylor1-0/+4
2003-03-02 * emulparams/elf64alpha.sh (EXTRA_EM_FILE): Define.Alan Modra1-0/+8
(PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES, PARSE_AND_LIST_EPILOGUE): Don't define. * emultempl/alphaelf.em: New file.
2003-02-28 * ldemul.c: Include getopt.h.Alan Modra1-0/+6
* emultempl/elf32.em: Include getopt.h earlier. * emultempl/ticoff.em: Likewise.
2003-02-28 * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Add combrelocAlan Modra1-0/+5
support when scripts read from files.
2003-02-28 * ldemul.c (ldemul_parse_args): Return FALSE by default.Alan Modra1-0/+4
* ldemul.h (struct ld_emulation_xfer_struct): Update parse_args comment.
2003-02-28 * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions.Alan Modra1-0/+38
(ldemul_parse_args): Return bfd_boolean. Formatting. * ldemul.h (ldemul_add_options, ldemul_handle_option): Declare. (ldemul_parse_args): Adjust. (struct ld_emulation_xfer_struct): Add add_options and handle_option. Return bfd_boolean from parse_args. * lexsup.c (parse_args): Malloc shortopts, longopts and really_longopts. Call ldemul_add_options and ldemul_handle_option. * emultempl/aix.em (gld${EMULATION_NAME}_add_options): Split out from gld${EMULATION_NAME}_parse_args. (gld${EMULATION_NAME}_handle_option): Likewise. (ld_${EMULATION_NAME}_emulation): Adjust initializer. * emultempl/armcoff.em: As for aix.em, but remove parse_args. * emultempl/beos.em: Likewise. * emultempl/pe.em: Likewise. * emultempl/ticoff.em: Likewise. * emultempl/elf32.em: Likewise. Don't duplicate long options either. (gld${EMULATION_NAME}_add_sysroot): Prototype. * emultempl/armelf.em (PARSE_AND_LIST_LONGOPTS): Don't duplicate options. * emultempl/hppaelf.em (PARSE_AND_LIST_LONGOPTS): Likewise. * emultempl/ppc32elf.em (PARSE_AND_LIST_LONGOPTS): Likewise. * emultempl/ppc64elf.em (PARSE_AND_LIST_LONGOPTS): Likewise. * emultempl/armelf_oabi.em (ld_${EMULATION_NAME}_emulation): Adjust initializer. * emultempl/generic.em: Likewise. * emultempl/gld960.em: Likewise. * emultempl/gld960c.em: Likewise. * emultempl/linux.em: Likewise. * emultempl/lnk960.em: Likewise. * emultempl/m68kcoff.em: Likewise. * emultempl/mipsecoff.em: Likewise. * emultempl/sunos.em: Likewise. * emultempl/vanilla.em: Likewise. * emultempl/netbsd.em (gldnetbsd_before_parse): Prototype.
2003-02-26* emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): FixAlexandre Oliva1-0/+3
memory allocation error.
2003-02-25(ld_sysroot): Try to set from TOOLBINDIR too.Nick Clifton1-0/+6
2003-02-21Disable region size checking whilst relaxing sections.Nick Clifton1-0/+17
2003-02-21Apply Bob Wilson's linker documenation clean ups.Nick Clifton1-0/+16
2003-02-20* configure.in (TARGET_SYSTEM_ROOT): Set default toAlexandre Oliva1-0/+8
${exec_prefix}/${target_alias}/sys-root. Match explicit '${exec_prefix}' (in addition to the expansion thereof) as relocatable. * configure: Rebuilt.
2003-02-20 * ldgram.y (vers_defns): Also recurse with 'EXTERN NAME' patterns.Alan Modra1-0/+9
* ldgram.y (vers_defns): Allow optional trailing semicolon in EXTERN NAME block;
2003-02-18 * emultempl/ppc32elf.em: New file.Alan Modra1-0/+14
* emulparams/elf32ppc.sh (EXTRA_EM_FILE): Define. * Makefile.am (eelf32lppc.c): Depend on emultempl/ppc32elf.em. (eelf32lppcnto.c): Likewise. (eelf32lppcsim.c): Likewise. (eelf32ppcnto.c): Likewise. (eelf32ppc.c): Likewise. (eelf32ppc_fbsd.c): Likewise. (eelf32ppcsim.c): Likewise. (eelf32ppclinux.c): Likewise.
2003-02-18 * ld.texinfo: Remove spaces between @samp and opening brace.Alan Modra1-0/+4
2003-02-17 * emultempl/ppc64elf.em (ppc_create_output_section_statements): CheckAlan Modra1-1/+8
hash creator. (ppc_before_allocation): Don't do optimizations if wrong hash table. (gld${EMULATION_NAME}_finish): Ditto.
2003-02-17Fix the behaviour of --allow-shlib-undefined, so that it does what it claimsNick Clifton1-0/+8
to do. Add an inverse switch. Update the documentation.
2003-02-11Fix spelling typo in previous deltaNick Clifton1-1/+1
2003-02-11Add new data anchors defenitions.Nick Clifton1-0/+5
2003-02-11Add support for configuring *-*-kaos targets.Nick Clifton1-0/+5
2003-02-11 * hppaelf.em (group_size): Change default back to 1.Dave Anglin1-0/+4
2003-02-09 * emultempl/ppc64elf.em: Add "no-tls-optimize" option and support code.Alan Modra1-0/+4
2003-02-07 * hppaelf.em (group_size): Change default to -1.Dave Anglin1-0/+4
2003-02-07Add duplicate entry for no-pipeline-knowledge. This will prevent the getoptNick Clifton1-0/+9
package from thinking that there are any shorter abbreviations for --no-pipeline-knowledge.
2003-02-07 * genscripts.sh (LIB_PATH): Don't append LIBPATH_SUFFIX to pathsJakub Jelinek1-0/+5
which already have it. Avoid duplicates.
2003-02-06 * emulparams/elf64_s390.sh (LIBPATH_SUFFIX): Set to 64.Jakub Jelinek1-0/+6
* emulparams/elf_x86_64.sh (LIBPATH_SUFFIX): Likewise. * emulparams/elf64_sparc.sh (LIBPATH_SUFFIX): Set instead of suffix.
2003-02-04 * emultempl/ppc64elf.em (ppc_before_allocation): Size sections thenAlan Modra1-0/+5
call ppc64_elf_tls_optimize.
2003-02-03 * emultempl/elf32.em: Move gld${EMULATION_NAME}_add_sysrootDaniel Jacobowitz1-0/+5
outside of GNU/Linux conditional.
2003-01-28Add code to prevent importing a dll multiple times.Nick Clifton1-0/+8
2003-01-23include/elf/ChangeLogAlan Modra1-0/+7
* sh.h: Split out various bits to bfd/elf32-sh64.h. include/opcode/ChangeLog * m68hc11.h (cpu6812s): Define. bfd/ChangeLog * elf-bfd.h (struct bfd_elf_section_data): Remove tdata. Change dynindx to an int. Rearrange for better packing. * elf.c (_bfd_elf_new_section_hook): Don't alloc if already done. * elf32-mips.c (bfd_elf32_new_section_hook): Define. * elf32-sh64.h: New. Split out from include/elf/sh.h. (struct _sh64_elf_section_data): New struct. (sh64_elf_section_data): Don't dereference sh64_info (was tdata). * elf32-sh64-com.c: Include elf32-sh64.h. * elf32-sh64.c: Likewise. (sh64_elf_new_section_hook): New function. (bfd_elf32_new_section_hook): Define. (sh64_elf_fake_sections): Adjust for sh64_elf_section_data change. (sh64_bfd_elf_copy_private_section_data): Likewise. (sh64_elf_final_write_processing): Likewise. * elf32-sparc.c (struct elf32_sparc_section_data): New. (elf32_sparc_new_section_hook): New function. (SET_SEC_DO_RELAX, SEC_DO_RELAX): Delete. (sec_do_relax): Define. (elf32_sparc_relax_section): Adjust to use sec_do_relax. (elf32_sparc_relocate_section): Likewise. * elf64-mips.c (bfd_elf64_new_section_hook): Define. * elf64-mmix.c (struct _mmix_elf_section_data): New. (mmix_elf_section_data): Define. Use throughout file. (mmix_elf_new_section_hook): New function. (bfd_elf64_new_section_hook): Define. * elf64-ppc.c (struct _ppc64_elf_section_data): New. (ppc64_elf_section_data): Define. Use throughout. (ppc64_elf_new_section_hook): New function. (bfd_elf64_new_section_hook): Define. * elf64-sparc.c (struct sparc64_elf_section_data): New. (sparc64_elf_new_section_hook): New function. (SET_SEC_DO_RELAX, SEC_DO_RELAX): Delete. (sec_do_relax): Define. (sparc64_elf_relax_section): Adjust to use sec_do_relax. (sparc64_elf_relocate_section): Likewise. (bfd_elf64_new_section_hook): Define. * elfn32-mips.c (bfd_elf32_new_section_hook): Define. * elfxx-mips.c (struct _mips_elf_section_data): New. (mips_elf_section_data): Define. Use throughout. (_bfd_mips_elf_new_section_hook): New function. (mips_elf_create_got_section): Don't alloc used_by_bfd. * elfxx-mips.h (_bfd_mips_elf_new_section_hook): Declare. * elfxx-target.h (bfd_elfNN_new_section_hook): Add #ifndef. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. opcodes/ChangeLog * sh64-dis.c: Include elf32-sh64.h. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. gas/ChangeLog * config/tc-sh64.c (shmedia_frob_section_type): Adjust for changed sh64_elf_section_data. * config/tc-sh64.h: Include elf32-sh64.h. * config/tc-m68hc11.c: Don't include stdio.h. (md_show_usage): Fix missing continuation. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. ld/ChangeLog * emultempl/sh64elf.em: Include elf32-sh64.h. (sh64_elf_${EMULATION_NAME}_before_allocation): Adjust for changed sh64_elf_section_data. (sh64_elf_${EMULATION_NAME}_after_allocation): Likewise.
2003-01-23Remove an extra "i" in --dll-search-prefix.Nick Clifton1-0/+6
Move a cross-80th-column-margin "an" to the next line.
2003-01-21fix typo in previous entryNick Clifton1-3/+3
2003-01-21Fix generation of tic3xcoff_onchip.cNick Clifton1-0/+7
2003-01-21Add support for i386-*-aros triple.Nick Clifton1-0/+4
2003-01-20Updates for fixing tic4x arch tagging of its object files.Svein Seldal1-0/+11
* bfd/coffcode.h (coff_set_flags): Added get/set arch hooks. * include/coff/tic4x.h (TICOFF_TARGET_MACHINE_GET): Fixed define bug * include/coff/ti.h (TICOFF_TARGET_MACHINE_GET): Added macros * ld/Makefile.am: Added etic3xcoff.o and etic4xcoff_onchip.o * ld/Makefile.in: Regenerate * ld/configure.tgt: Added extra target emulations * ld/emulparams/tic3xcoff.sh: Remove old settings * ld/emulparams/tic4xcoff.sh: Ditto * ld/emulparams/tic3xcoff-onchip.sh: Added new * ld/scripttempl/tic4xcoff.sc: Revise and combine both c3x and c4x * ld/scripttempl/tic3xcoff.sc: Remove
2003-01-17 * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Do notAndreas Jaeger1-3/+8
skip ':'.
2003-01-16 * Makefile.in: Regenerate.Alan Modra1-0/+4
2003-01-14(node WIN32): Some clarifications and formatting fixups.Nick Clifton1-0/+5
2003-01-092003-01-09 Chris Demetriou <cgd@broadcom.com>Chris Demetriou1-0/+5
* ldmain.c (get_emulation): Sort -mipsNN checks in the usual order, and handle (ignore) -mips32r2.
2003-01-09 * ldmain.c (main): Make sure ld_sysroot is initialized.Daniel Jacobowitz1-0/+4
2003-01-06 * Makefile.am (eelf32iq10.c): Fix tab/whitespace mixup.Daniel Jacobowitz1-0/+40
* Makefile.am (ldmain.o): Add @TARGET_SYSTEM_ROOT_DEFINE@. (GENSCRIPTS): Add @use_sysroot@. * Makefile.in: Regenerated. * configure.host: Move setting of NATIVE_LIB_DIRS to... * configure.tgt: ... here. Use ${target} instead of ${host} for NATIVE_LIB_DIRS. * configure.in: Add --with-sysroot. * configure: Regenerated. * genscripts.sh: Accept use_sysroot option. Set new variables NATIVE and USE_LIBPATH. Prepend "=" to directory names if $use_sysroot. Don't search $tool_lib if $use_sysroot. * ldfile.c (ldfile_add_library_path): Handle leading '='. * ldmain.c (TARGET_SYSTEM_ROOT): Define if not defined. (ld_sysroot): New variable. (main): Initialize ld_sysroot. * ldmain.h (ld_sysroot): New extern. * emultempl/elf32.em: Use NATIVE and USE_LIBPATH instead of searching $EMULATION_LIBPATH. (gld${EMULATION_NAME}_add_sysroot): New function. (gld${EMULATION_NAME}_check_ld_so_conf): Use it. Honor ld_sysroot. (gld${EMULATION_NAME}_after_open): Likewise. Only search environment variables if $NATIVE. * ld.texinfo (Options): Mention "=" prefix in the description of -L. * NEWS: Mention --with-sysroot. * emulparams/elf32bmipn32-defs.sh: Set NATIVE and LIBPATH_SUFFIX instead of setting LIB_PATH. * emulparams/elf32ppc.sh: Likewise. * emulparams/elf64_s390.sh: Likewise. * emulparams/elf64_sparc.sh: Likewise. * emulparams/elf64ppc.sh: Likewise. * emulparams/elf_x86_64.sh: Likewise. * emulparams/elf64_aix.sh: Add "=" prefixes to LIB_PATH. * emulparams/elf64hppa.sh: Add "=" prefixes to LIB_PATH.
2003-01-05* ld/pe-dll.c (autofilter_symbollist): Add cygwin_crt0.Christopher Faylor1-0/+4
2003-01-04 * Makefile.am (ldmain.o): Pass BINDIR.Daniel Jacobowitz1-0/+7
* Makefile.in: Regenerated. * ldmain.c (set_scripts_dir): Use make_relative_prefix for the first search path.
2003-01-04 * Makefile.am (ALL_EMULATIONS): Add eelf32iq2000.o.Stan Cox1-0/+10
(eelf32iq2000.c): New target. * Makefile.in: Regenerate. * configure.tgt: Handle iq2000-*-elf. * emulparams/elf32iq10.sh: New file. * emulparams/elf32iq2000.sh: New file. * scripttempl/iq2000.sc: New file.
2003-01-02Add do_pseudo_reloc and _pei386_runtime_relocator to the exclude list.Nick Clifton1-0/+5
2003-01-02 * ldfile.c: Fix comment typos.Kazu Hirata1-1/+8
* ldlang.c: Likewise. * mri.c: Likewise. * pe-dll.c: Likewise.