aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
2003-04-03Mention support for Xtensa architectureNick Clifton2-0/+6
2003-04-02 * ld-xtensa/coalesce.exp: Skip if target is not xtensa-*-*.Bob Wilson3-0/+13
* ld-xtensa/lcall.exp: Likewise.
2003-04-02pe-dll.c (pe_detail_list): arm-pe targets use underscores.Nick Clifton3-3/+46
(process_def_file): Don't create an export section if there are no exports and we're building an exe. (pe_dll_build_sections): Ditto (pe_dll_fill_sections): Conditionalize setting abfd->dll true on info->shared emultempl/pe.em (gld_${EMULATION_NAME}_after_open): If i386pe or armpe, call pe_dll_build_section() for both exe's and dll's, not just dll's. Don't call pe_dll_build_section() if link_info.relocateable. (gld_${EMULATION_NAME}_finish): For all targets except shpe and mipspe, call pe_dll_fill_sections() for both exe's and dll's, not just dll's. Don't call pe_dll_fill_sections() if link_info.relocateable.
2003-04-02 * emulparams/xtensa-config.sh: Remove comment indicating that this isBob Wilson2-5/+5
a generated file.
2003-04-01Add Xtensa portNick Clifton22-2/+2407
2003-04-01 * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64Jakub Jelinek2-1/+8
targ_extra_libpath. Add elf64ppc to ppc targ_extra_libpath if --enable-64-bit-bfd.
2003-04-01fix spelling typoNick Clifton1-2/+2
2003-04-01Fixes for iWMMXt contribution.Nick Clifton3-2/+9
2003-04-01* ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms ofAlexandre Oliva2-5/+7
--section-start.
2003-03-31Fix memory leaksNick Clifton6-36/+65
2003-03-26* ld-mips-elf/mips-elf.exp: Added...Alexandre Oliva7-0/+118
* ld-mips-elf/relax-jalr.s, ld-mips-elf/relax-jalr-n32.d, ld-mips-elf/relax-jalr-n32-shared.d, ld-mips-elf/relax-jalr-n64.d, ld-mips-elf/relax-jalr-n64-shared.d: New tests.
2003-03-25Add iWMMXt supportNick Clifton4-2/+14
2003-03-25ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define. (main): ↵Nick Clifton6-41/+105
Initialize them. ldfile.c: Include pathnames.h. (is_sysrooted_pathname): New. (ldfile_add_library_path): Use it. (ldfile_open_file_search): Likewise. Use IS_ABSOLUTE_PATH. Don't search_dirs if given an absolute pathname. (ldfile_open_file): Issue error message for sysrooted absolute pathnames.
2003-03-25Replace oddly-encoded blank with regular blanksAlexandre Oliva1-1/+1
2003-03-24Rename the all occurances of C54X to TIC54X.Nick Clifton2-2/+6
2003-03-19 * ldfile.c (ldfile_try_open_bfd): Pop lexer start condition afterAndreas Schwab2-0/+6
eof.
2003-03-18 * defilep.y (opt_base): If no number given, set to defaultDanny Smith2-1/+6
(-1), not 0.
2003-03-13 * deffilep.y (def_import): Use default extension of "dll"Danny Smith2-11/+27
if no extension provided in parsed IMPORT definition. * deffilep.y (def_lex): Revert 2003-03-12 change. (dot_name): New id type and rule. (expline): Use instead of ID. (opt_equal_name): Likewise.
2003-03-12 * deffilep.y (def_lex): Accept '.' as valid non-lead char.Danny Smith2-1/+5
2003-03-11* ld-mips-elf/mips-elf.exp (linux_gnu): New variable. Add:Alexandre Oliva7-1/+75
* ld-mips-elf/rel32-o32.d, ld-mips-elf/rel32-n32.d, ld-mips-elf/rel64.d, ld-mips-elf/rel32.s, ld-mips-elf/rel64.s: New tests.
2003-03-10 * elf32-ppc.c (ppc_elf_relocate_section): Subtract tls seg vma fromAlan Modra3-3/+8
zero index dynamic tls relocs generated for the GOT. Tidy code. Set "relocation" to 1 on DTPMOD32 relocs. Optimize HA adjustment. * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. * ld-powerpc/tlsso.r: Adjust for corrected zero symbol index relocs. * ld-powerpc/tlsso32.r: Likewise.
2003-03-08* configure.tgt: Add NATIVE_LIB_DIRS for cygwin target back after apparentChristopher Faylor2-0/+9
accidental removal on 2003-01-06.
2003-03-04Add new devices x1122 x1132 emulation.Nick Clifton7-225/+279
2003-03-03* ldmain.c (set_scripts_dir): Look for relative to TOOLBINDIR asAlexandre Oliva2-0/+11
well.
2003-03-03* ldfile.h (struct search_dirs): Added sysrooted field.Alexandre Oliva6-10/+68
* 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 Faylor2-3/+7
2003-03-02 * emulparams/elf64alpha.sh (EXTRA_EM_FILE): Define.Alan Modra3-51/+92
(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 Modra4-5/+10
* emultempl/elf32.em: Include getopt.h earlier. * emultempl/ticoff.em: Likewise.
2003-02-28 * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Add combrelocAlan Modra2-0/+28
support when scripts read from files.
2003-02-28 * ldemul.c (ldemul_parse_args): Return FALSE by default.Alan Modra3-2/+6
* 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 Modra25-293/+378
(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 Oliva2-1/+4
memory allocation error.
2003-02-25(ld_sysroot): Try to set from TOOLBINDIR too.Nick Clifton4-80/+97
2003-02-21Disable region size checking whilst relaxing sections.Nick Clifton7-35/+70
2003-02-21Apply Bob Wilson's linker documenation clean ups.Nick Clifton4-640/+726
2003-02-20* configure.in (TARGET_SYSTEM_ROOT): Set default toAlexandre Oliva3-226/+252
${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 Modra2-1/+25
* ldgram.y (vers_defns): Allow optional trailing semicolon in EXTERN NAME block;
2003-02-18 * ld-powerpc/tlsexe.d: Update for changed handling of invalid LDAlan Modra5-114/+121
relocs. * ld-powerpc/tlsexe.g: Likewise. * ld-powerpc/tlsexe.r: Likewise. * ld-powerpc/tlsexe.t: Likewise.
2003-02-18New tests.Alan Modra15-1/+625
2003-02-18 * emultempl/ppc32elf.em: New file.Alan Modra5-19/+120
* 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 Modra2-3/+7
2003-02-17 * ld-powerpc/tlsexe.g: Update for 2003-02-14 elf64-ppc.c change.Alan Modra2-1/+5
2003-02-17 * emultempl/ppc64elf.em (ppc_create_output_section_statements): CheckAlan Modra2-18/+35
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 Clifton4-16/+40
to do. Add an inverse switch. Update the documentation.
2003-02-13bfd/Jakub Jelinek12-15/+120
* elflink.h (elf_link_add_object_symbols): Handle .symver x, x@FOO. ld/testsuite/ * ld-shared/shared.exp: Run on s390*-*-linux* and x86_64-*-linux* too. xfail tests linking non-pic code into shared libs on x86_64-*-linux*. * ld-elfvsb/elfvsb.exp: Likewise. * ld-elfvers/vers.exp: Likewise. Add vers24a, vers24b and vers24c tests. * ld-elfvers/vers3.ver: Allow VERS_2.0 to come before GLIBC_* version. * ld-elfvers/vers19.ver: Likewise. * ld-elfvers/vers24a.c: New test. * ld-elfvers/vers24b.c: New test. * ld-elfvers/vers24c.c: New test. * ld-elfvers/vers24.map: New test. * ld-elfvers/vers24.rd: New test. * lib/ld-lib.exp (run_ld_link_tests): Add optional 7th argument cflags. If source files have .c extension, compile them first.
2003-02-11Fix spelling typo in previous deltaNick Clifton1-1/+1
2003-02-11Add new data anchors defenitions.Nick Clifton3-0/+13
2003-02-11Add support for configuring *-*-kaos targets.Nick Clifton2-3/+11
2003-02-11 * hppaelf.em (group_size): Change default back to 1.Dave Anglin2-1/+5
2003-02-10 * ld-sh/tlstpoff-1.d: New.Kaz Kojima5-0/+99
* ld-sh/tlstpoff-2.d: New. * ld-sh/tlstpoff1.s: New. * ld-sh/tlstpoff2.s: New.