aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
2001-07-112001-07-11 Jakub Jelinek <jakub@redhat.com>Jakub Jelinek2-0/+12
* ldmain.c (main): Disallow -F and -f without -shared.
2001-07-11Check for the output_bfd not having any coff_data structure allocated to it.Nick Clifton2-1/+6
2001-07-102001-07-09 David O'Brien <obrien@FreeBSD.org>David O'Brien2-0/+9
* emultempl/elf32.em: Do not assuming that contents of the buffer returned from basename function will remain unchanged accross other function calls. NOTE: DJ Delorie recomends doing a basename()->lbasename() conversion. Approved by: DJ Delorie <200107100030.UAA01223@envy.delorie.com>
2001-07-032001-07-03 H.J. Lu <hjl@gnu.org>H.J. Lu2-10/+6
* scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on 2001-07-03. It creates dynamic entries even for static binaries.
2001-07-032001-07-03 Jakub Jelinek <jakub@redhat.com>H.J. Lu2-1/+16
* scripttempl/elf.sc (DYNAMIC_PAD): New variable. (DYNAMIC): Use it to reserve few dynamic entries for post-linking tools.
2001-06-27 * emulparams/hppa64linux.sh: New file.Alan Modra5-7/+64
* configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o (ehppa64linux.c): Add rule to make it. Run "make dep-am". * Makefile.in: Regenerate.
2001-06-20 * ld.texinfo (Options, -r): Mention restrictions when usingHans-Peter Nilsson2-1/+13
different object formats.
2001-06-19 * ldlang.c (lang_check): Emit fatal error if relocatable linkHans-Peter Nilsson2-0/+17
between different object flavours with relocations in input.
2001-06-192001-06-19 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+20
* ld.texinfo (-E, --export-dynamic): Mention --version-script. (--version-script): Mention the language support.
2001-06-192001-06-19 H.J. Lu <hjl@gnu.org>H.J. Lu2-5/+4
* ldlang.c (lang_check): Revert the change mode on 2001-06-15.
2001-06-19Remove auot generated man pagesNick Clifton4-1452/+25
2001-06-18 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):Hans-Peter Nilsson5-7/+8
Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections. * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto. * ld.h (args_type): Remove member export_dynamic. All users changed to use struct bfd_link_info member.
2001-06-18 * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend onHans-Peter Nilsson3-10/+16
$(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em. * Makefile.in: Regenerate.
2001-06-182001-06-18 H.J. Lu <hjl@gnu.org>H.J. Lu2-3/+9
* ldlang.c (init_os): Add the newline to the einfo call. (lang_check): Likewise. (lang_do_version_exports_section): Likewise.
2001-06-162001-06-15 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+8
* lexsup.c (parse_args); Save optind to report unrecognized option.
2001-06-15 * ldlang.c (lang_check): Emit fatal error if relocatable linkHans-Peter Nilsson2-0/+8
between different object flavours.
2001-06-15 * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>:Hans-Peter Nilsson3-0/+8
Set new link_info member export_dynamic. * ldmain.c (main): Initialize new link_info member export_dynamic.
2001-06-15Chnage load_symbols() to a boolean functionNick Clifton2-25/+54
2001-06-13 * config/default.exp (AS, GASP, OBJDUMP, NM, NMFLAGS, OBJCOPY,Hans-Peter Nilsson3-0/+555
OBJCOPYFLAGS, READELF, READELFFLAGS, LD, LDFLAGS): Provide default. * lib/ld-lib.exp (run_dump_test): Import from gas testsuite. Add new options "ld", "source", "xfail", "target", "notarget" and "error". Support the runtest_file_p "*.exp=testname" feature. (slurp_options, regexp_diff, file_contents, verbose_eval): Import from gas testsuite.
2001-06-12Correct setup_xfail rule.Nick Clifton2-1/+5
2001-06-10Move an entry to the correct ChangeLog.Alan Modra2-14/+13
2001-06-08 * ldlang.c (record_bfd_errors): Remove.Alan Modra3-49/+8
* emultempl/aix.em: Fix copyright dates.
2001-06-07 * emulparms/elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase.Andreas Jaeger2-9/+14
(TEXT_START_ADDR): Likewise.
2001-06-06Fix a typo.H.J. Lu1-1/+1
2001-06-062001-06-06 H.J. Lu <hjl@gnu.org>H.J. Lu9-10/+43
* ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3 on Linux/mips. * ld-elfvers/vers.exp: Also run on istarget Linux/mips. * ld-elfvsb/elfvsb.exp: Likewise. * ld-shared/shared.exp: Likewise. * ld-selective/selective.exp: Mark selective2, selective3, selective4 and selective5 xfail on Linux/mips. * ld-shared/main.c: Skip invalid -Bsymbolic tests on Linux/mips. * symbolic.dat: Remove invalid -Bsymbolic tests on Linux/mips. * ld-srec/srec.exp: Add Linux/mips to xfail.
2001-06-06 * ld-undefined/undefined.exp: Add a setup_xfail line for a testAlan Modra2-0/+12
that will always fail on s/390.
2001-06-06 * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.Alan Modra2-3/+7
2001-06-05* emultempl/pe.em (init): Reduce default stack reserve to 0x200000.DJ Delorie2-1/+5
2001-05-312001-05-31 H.J. Lu <hjl@gnu.org>H.J. Lu2-10/+5
* ldlang.c (open_input_bfds): Don't change the bfd error handler whilst loading symbols.
2001-05-28For sh-*-linux-gnu target add a start address for the text section.Nick Clifton2-1/+13
2001-05-28Rmeove i370-mvs architecture - it is not supported.Nick Clifton2-1/+5
2001-05-252001-05-25 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+7
* emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK like emulparams/aixppc.sh.
2001-05-252001-05-25 H.J. Lu <hjl@gnu.org>H.J. Lu3-2/+8
* emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move setting of output_filename after bfd_scan_arch. * emultempl/pe.em: Likewise.
2001-05-252001-05-25 H.J. Lu <hjl@gnu.org>H.J. Lu3-1/+11
* emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK like emulparams/aixppc.sh. * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed instead of ${srcdir}/emultempl/stringify.sed.
2001-05-25monterey updatesTimothy Wall2-4/+8
2001-05-25s/linuxaout/linux*aout/, s/linuxoldld/linux*oldld/Alan Modra5-5/+15
2001-05-252001-05-24 H.J. Lu <hjl@gnu.org>H.J. Lu2-4/+4
* emultempl/stringify.sed: Removed again.
2001-05-252001-05-24 H.J. Lu <hjl@gnu.org>H.J. Lu8-7/+111
* emultempl/aix.em (OUTPUT_ARCH): Defined. (gld${EMULATION_NAME}_before_parse): Initialize ldfile_output_architecture, ldfile_output_machine and ldfile_output_machine_name from ${OUTPUT_ARCH} if possible. * emultempl/beos.em: Likewise. * emultempl/elf32.em: Likewise. * emultempl/linux.em: Likewise. * emultempl/mipsecoff.em: Likewise. * emultempl/pe.em: Likewise. * emultempl/sunos.em: Likewise.
2001-05-252001-05-24 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+5
* ld-scripts/phdrs.exp: Add sparc64 to 64 bit platform.
2001-05-24Support for xcoff64Tom Rix9-244/+519
2001-05-24* emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this newAlexandre Oliva2-9/+18
variable to avoid non-portable shell construct.
2001-05-23Add MIPS r12k supportNick Clifton2-1/+6
2001-05-22Improve Solaris compatabilityNick Clifton9-974/+784
2001-05-20* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,Alexandre Oliva1-162/+166
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.254. Rebuilt a number of subdir/configure scripts to use the new libtool.m4.
2001-05-182001-05-18 H.J. Lu <hjl@gnu.org>H.J. Lu6-5/+15
* ld-elfvers/vers.exp: Revert the last change. * ld-elfvers/vers2.ver: Put back "tmpdir/" the version references. * ld-elfvers/vers3.ver: Likewise. * ld-elfvers/vers6.ver: Likewise. * ld-elfvers/vers18.ver: Likewise.
2001-05-182001-05-17 H.J. Lu <hjl@gnu.org>H.J. Lu14-15/+33
* ld-elfvers/vers.exp: Pass "-rpath .:$tmpdir" to "vers19". * ld-elfvers/vers1.ver: Remove "tmpdir/" from the version definition. * ld-elfvers/vers2.ver: Likewise. * ld-elfvers/vers3.ver: Likewise. * ld-elfvers/vers4a.ver: Likewise. * ld-elfvers/vers6.ver: Likewise. * ld-elfvers/vers7a.ver: Likewise. * ld-elfvers/vers8.ver: Likewise. * ld-elfvers/vers9.ver: Likewise. * ld-elfvers/vers15.ver: Likewise. * ld-elfvers/vers16a.ver: Likewise. * ld-elfvers/vers17.ver: Likewise. * ld-elfvers/vers18.ver: Likewise.
2001-05-17Add a flag to asection, linker_has_input, and use it to reliablyAlan Modra2-39/+57
determine whether an input section is the first one assigned to an output section.
2001-05-14* Makefile.am (ld.dvi): Search bfd/doc for texinfo files.DJ Delorie3-2/+7
* Makefile.in: Ditto.
2001-05-11 * elfxx-ia64.c (is_unwind_section_name): Consider linkonce unwindJakub Jelinek3-2/+9
sections as well. (elfNN_ia64_final_write_processing): Map .gnu.linkonce.ia64unw.FOO to .gnu.linkonce.t.FOO text section. * readelf.c (process_unwind): Print all unwind sections, not just one. * config/tc-ia64.c (special_linkonce_name): New. (make_unw_section): Map .gnu.linkonce.t.FOO text section into .gnu.linkonce.ia64unw{,i}.FOO. (ia64_elf_section_type): Handle .gnu.linkonce.ia64unw{,i}.FOO. (dot_endp): Add comment about it. * elf/ia64.h (ELF_STRING_ia64_unwind_once): Define. (ELF_STRING_ia64_unwind_info_once): Define. * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind* output sections. * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
2001-05-11 * merge.c (struct sec_merge_hash_entry): Add u.entsize and u.suffixJakub Jelinek2-0/+10
fields, change sec into secinfo. (struct sec_merge_info): Add chain, remove last fields. (struct sec_merge_sec_info): Add next, sec, psecinfo fields. (sec_merge_hash_lookup): If lookup could not use a string only because it has bad alignment, mark the old string for deletion. (sec_merge_add): Add secinfo argument. Don't compute entry's position, instead record the section. (sec_merge_emit): Update for the sec into secinfo change in struct sec_merge_hash_entry. (_bfd_merge_section): Only record the section for merging, defer putting strings into the hash table. (cmplengthentry, last4_eq, last_eq, record_section, merge_strings, _bfd_merge_sections): New functions. (_bfd_merged_section_offset): Update for the sec_merge_hash_entry changes. * libbfd-in.h (_bfd_merge_sections): Add prototype. (_bfd_nolink_bfd_merge_sections): Define. * libbfd.h: Likewise. (bfd_generic_merge_sections): Add prototype. * targets.c (BFD_JUMP_TABLE_LINK): Add _bfd_merge_sections. (struct bfd_target): Likewise. * bfd.c (bfd_merge_sections): Define. * bfd-in2.h: Rebuilt. * elf.c (_bfd_elf_merge_sections): New function. * elf-bfd.h (_bfd_elf_merge_sections): Add prototype. * elfxx-target.h (bfd_elfNN_bfd_merge_sections): Define. * reloc.c (bfd_generic_merge_sections): New function. * vms.c (vms_bfd_merge_sections): New function. * aout-adobe.c (aout_32_bfd_merge_sections): Define. * aout-target.h (MY_bfd_merge_sections): Define. * aout-tic30.c (MY_bfd_merge_sections): Define. * binary.c (binary_bfd_merge_sections): Define. * bout.c (b_out_bfd_merge_sections): Define. * coff-alpha.c (_bfd_ecoff_bfd_merge_sections): Define. * coffcode.c (coff_bfd_merge_sections): Define. * coff-mips.c (_bfd_ecoff_bfd_merge_sections): Define. * i386msdos.c (msdos_bfd_merge_sections): Define. * i386os9k.c (os9k_bfd_merge_sections): Define. * ieee.c (ieee_bfd_merge_sections): Define. * ihex.c (ihex_bfd_merge_sections): Define. * nlm-target.h (nlm_bfd_merge_sections): Define. * oasys.c (oasys_bfd_merge_sections): Define. * ppcboot.c (ppcboot_bfd_merge_sections): Define. * som.c (som_bfd_merge_sections): Define. * srec.c (srec_bfd_merge_sections): Define. * tekhex.c (tekhex_bfd_merge_sections): Define. * versados.c (versados_bfd_merge_sections): Define. * xcoff-target.h (_bfd_xcoff_bfd_merge_sections): Define. * ldlang.c (lang_process): Call bfd_merge_sections.