aboutsummaryrefslogtreecommitdiff
path: root/ld/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2003-06-03 * emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.Kaz Kojima1-0/+5
* emulparams/shlelf32_linux.sh (GENERATE_PIE_SCRIPT): Likewize.
2003-06-02Scan table pe_dll->exports, which is sorted alphabetically, instead ofNick Clifton1-0/+6
exported_symbols, which is sorted by ordinal.
2003-05-30bfd/Jakub Jelinek1-0/+27
* elflink.h (elf_link_add_object_symbols): Use !info->executable instead of info->shared where appropriate. (bfd_elfNN_size_dynamic_sections, elf_link_output_extsym): Likewise. * elflink.c (_bfd_elf_create_got_section): Likewise. (_bfd_elf_link_create_dynamic_sections): Likewise. (_bfd_elf_link_assign_sym_version): Likewise. * elf32-i386.c (elf_i386_size_dynamic_sections): Create .interp section and DT_DEBUG dynamic tag even for position independent executables. * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise. * elf32-s390.c (elf_s390_size_dynamic_sections: Likewise. * elf64-ppc.c (ppc64_elf_size_dynamic_sections: Likewise. * elf64-s390.c (elf_s390_size_dynamic_sections: Likewise. * elf64-x86-64.c (elf64_x86_64_size_dynamic_sections: Likewise. * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections: Likewise. * elf32-sparc.c (elf32_sparc_size_dynamic_sections: Likewise. * elf64-alpha.c (elf64_alpha_size_dynamic_sections: Likewise. * elf64-sparc.c (sparc64_elf_size_dynamic_sections: Likewise. include/ * bfdlink.h (struct bfd_link_info): Add pie and executable bits. ld/ * lexsup.c (OPTION_PIE): Define. (ld_options): Add -pie and --pic-executable options. (parse_args): Handle OPTION_PIE. * ldmain.c (main): Initialize link_info.pie and link_info.executable. * genscripts.sh: Generate PIE scripts. * ld.texinfo: Document -pie and --pic-executable options. * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): (gld${EMULATION_NAME}_place_orphan): Likewise. (gld${EMULATION_NAME}_get_script): Include PIE scripts. * scripttempl/elf.sc: In PIE scripts set . the same way as in shared scripts. * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes. * emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise. * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise.
2003-05-30ld/H.J. Lu1-0/+4
2003-05-30 H.J. Lu <hongjiu.lu@intel.com> * genscripts.sh: Create tmpdir/libpath.exp. ld/testsuite/ 2003-05-30 H.J. Lu <hongjiu.lu@intel.com> * config/default.exp: Load tmpdir/libpath.exp. (gcc_ld_flag): Set from $libpath.
2003-05-30(arm_elf_before_allocation): Replace ASSERT with a test for a NULLNick Clifton1-0/+5
bfd_for_interworking.
2003-05-29* configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBSJason Thorpe1-0/+7
correctly for more recent versions of NetBSD. (alpha*-*-netbsd*): Remove. (i[3-7]86-*-netbsd*): Remove.
2003-05-29Replace <ctype.h> with "safe-ctype.h"Nick Clifton1-0/+4
2003-05-26* emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 toMaciej W. Rozycki1-0/+5
trap on pointer crops.
2003-05-21Check for a target triplet of shl-...-netbsdelf as well as shle-...-netbsdelf.Nick Clifton1-0/+5
2003-05-16Replace i[3456]86 with i[3-7]86Nick Clifton1-0/+5
2003-05-152003-05-15 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-0/+4
* emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now.
2003-05-09Add missing changelog entry for last commit:Daniel Jacobowitz1-0/+1
* configure.tgt: Add armeb-elf and arm*b-*-linux-gnu.
2003-05-09 * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o.Daniel Jacobowitz1-0/+7
(earmelfb.c, earmelfb_linux.c): New rules. * Makefile.in: Regenerated. * emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files.
2003-05-09oops - update date in ChangeLog entryNick Clifton1-1/+1
2003-05-09Default to generating a fatal error message if a loadable section is notNick Clifton1-0/+6
allocated to a memory region when regions are defined.
2003-05-09 * Makefile.am (em68hc11elf.c): Correct dependencies.Alan Modra1-0/+8
(em68hc11elfb.c, em68hc12elf.c, em68hc12elfb.c): Likewise. * Makefile.in: Regenerate. * emultempl/elf32.em (find_exp_assignment): Adjust for changed bfd_elf_record_link_assignment name.
2003-05-07* ldmain.h (overflow_cutoff_limit): Declare.Alexandre Oliva1-0/+8
* ldmain.c (overflow_cutoff_limit): Define, initialized to 10. (reloc_overflow): Limit error messages based on it. * lexsup.c (parse_args) <OPTION_VERBOSE>: Set cutoff to unlimited.
2003-05-05 * ldlex.l: Accept C style comments in version scripts.Alan Modra1-0/+4
2003-04-29bfd/H.J. Lu1-0/+7
2003-04-28 H.J. Lu <hjl@gnu.org> * elfxx-ia64.c (elfNN_ia64_relax_section): Relax ldxmov during the relax finalize pass. * section.c (struct sec): Add need_finalize_relax and remove flag11. (STD_SECTION): Update struct sec initializer. * bfd-in2.h: Regenerated. include/ 2003-04-28 H.J. Lu <hjl@gnu.org> * bfdlink.h (bfd_link_info): Add relax_finalizing. ld/ 2003-04-28 H.J. Lu <hjl@gnu.org> * ldlang.c (lang_process): Add the relax finalize pass. * ldmain.c (main): Initialize link_info.relax_finalizing to FALSE.
2003-04-24.Roland McGrath1-4/+9
2003-04-24Add support for h8300hn and h8300snNick Clifton1-0/+13
2003-04-24include/H.J. Lu1-0/+8
* bfdlink.h (bfd_link_callbacks): Add error_handler. ld/ * ldmain.c (link_callbacks): Initialize error_handler. * ldmisc.c (error_handler): New function. * ldmisc.h (error_handler): New prototype.
2003-04-21 * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra.Stephane Carrez1-0/+7
* emulparams/m68hc11elfb.sh: Likewise. * emulparams/m68hc12elf.sh: Likewise. * emulparams/m68hc12elfb.sh: Likewise.
2003-04-19 * emultempl/m68hc1xelf.em: New file to generate far trampolines onStephane Carrez1-0/+13
68HC11 and 68HC12. (LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to generate. (LDEMUL_FINISH): Override to generate the trampolines after gc and linker relaxation. (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the stub file for trampolines. (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options --no-trampoline and --bank-window to control the memory bank window.
2003-04-182003-04-18 H.J. Lu <hjl@gnu.org>H.J. Lu1-0/+5
* ldfile.c (ldfile_add_library_path): Remove the unused variable.
2003-04-18Define __data and __rdataNick Clifton1-0/+4
2003-04-16 Add .jcr section mapping.Nick Clifton1-0/+4
2003-04-152003-04-15 H.J. Lu <hjl@gnu.org>H.J. Lu1-0/+6
From Debian by Jack Howarth <howarth@nitro.med.uc.edu>: * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer.
2003-04-15Replace occurrances of 'Hitachi' with 'Renesas'.Nick Clifton1-0/+5
2003-04-14 * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o andAlan Modra1-20/+35
other variants of crtbegin.o, crtend.o. (DTOR): Likewise. * scripttempl/crisaout.sc (ctors, dtors): Likewise. * scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise. * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise. * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise. * scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise. * scripttempl/iq2000.sc (CTOR, DTOR): Likewise. * scripttempl/mmo.sc (ctors, dtors): Likewise. * scripttempl/xstormy16.sc (CTOR, DTOR): Likewise.
2003-04-09Add initX, finiX, ctors, dtors sections to respect C++ constructor/destructor.Nick Clifton1-0/+7
Add ctors/dtors start/stop definitions.
2003-04-06Add notes about the target specific nature of i386 PE command line options.Nick Clifton1-0/+6
2003-04-04Fixed wrong entry in the ld/configure.tgt listSvein Seldal1-0/+1
2003-04-04Namespace cleanup for the tic4x target. Replace s/c4x/tic4x/ and ↵Svein Seldal1-0/+8
s/c3x/tic3x/. 2003 copyright update
2003-04-03Mention support for Xtensa architectureNick Clifton1-0/+4
2003-04-02pe-dll.c (pe_detail_list): arm-pe targets use underscores.Nick Clifton1-0/+25
(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 Wilson1-0/+5
a generated file.
2003-04-01Add Xtensa portNick Clifton1-0/+13
2003-04-01 * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64Jakub Jelinek1-0/+6
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 Clifton1-0/+7
2003-04-01* ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms ofAlexandre Oliva1-0/+5
--section-start.
2003-03-31Fix memory leaksNick Clifton1-0/+12
2003-03-25Add iWMMXt supportNick Clifton1-0/+10
2003-03-25ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define. (main): ↵Nick Clifton1-0/+15
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 Clifton1-1/+5
2003-03-19 * ldfile.c (ldfile_try_open_bfd): Pop lexer start condition afterAndreas Schwab1-0/+5
eof.
2003-03-18 * defilep.y (opt_base): If no number given, set to defaultDanny Smith1-0/+5
(-1), not 0.
2003-03-13 * deffilep.y (def_import): Use default extension of "dll"Danny Smith1-0/+10
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.