aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
1998-07-24remove d30v sanitizationIan Lance Taylor7-88/+40
1998-07-23 * scripttempl/aout.sc: If ALIGNMENT is defined, use it to setIan Lance Taylor1-0/+30
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.
1998-07-23rebuildIan Lance Taylor1-0/+1250
1998-07-23 * ld-elfvers/vers.exp: Just check for i?86 rather than checkingIan Lance Taylor1-0/+13
for i386, i486, and i586. (objdump_versionstuff): If we can't find the line, dump the file.
1998-07-14Strip beos markers.Richard Henderson1-0/+28
1998-07-14 * configure.tgt (i?86-*-beos{pe,elf,}*): Recognize.Richard Henderson3-0/+21
* Makefile.am (ei386beos.o): New. * emulparams/i386beos.sh: New file. * emultempl/beos.em, scripttempl/i386beos.sc: New file.
1998-07-13Mon Jul 13 13:20:23 1998 Steve Chamberlain <sac@transmeta.com>Ian Lance Taylor1-0/+12
* 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.
1998-07-08 * ldgram.y: Change MAX to MAX_K and MIN to MIN_K, to avoidIan Lance Taylor5-33/+58
conflicts with system header files. Change all uses.
1998-07-08 * Makefile.am (MAINTAINERCLEANFILES): Define.Ian Lance Taylor3-0/+9
* Makefile.in: Rebuild.
1998-07-07 * Makefile.am (ldver.texi): New target.Ian Lance Taylor4-18/+34
(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.
1998-07-06 * configure.tgt (i[3456]86-*-solaris*): New target.Ian Lance Taylor2-5/+12
1998-07-03 * ldlang.c (wild_section): Don't get an assertion failure if theIan Lance Taylor2-7/+16
section is discarded.
1998-07-03 * scripttempl/pe.sc: Use SORT to sort sections appropriately.Ian Lance Taylor1-239/+210
* 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.
1998-07-03 * ldlang.c (wild_sort): When sorting by file name, sort by archiveIan Lance Taylor2-1/+62
name first.
1998-07-03 * emultempl/pe.em (set_pe_subsystem): Don't callIan Lance Taylor2-68/+129
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.
1998-07-03comment fixesIan Lance Taylor1-23/+0
1998-07-03 * ldgram.y (extern_name_list): Do not require symbols to beIan Lance Taylor5-11/+35
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.
1998-07-02gc noteRichard Henderson1-0/+24
1998-07-02 * ld.h (args_type): Add gc_sections.Richard Henderson8-91/+612
* 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.
1998-07-01Pass thumb-pe and arm-peNick Clifton1-0/+19
1998-06-23 * Makefile.am (install-data-local): Make ldscripts subdirectory.Ian Lance Taylor1-0/+11
* 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.
1998-06-22 * ld.texinfo: Note that -relax may make symbolic debuggingJeff Law2-3/+24
impossible on some platforms.
1998-06-19 * ld-scripts/weak.exp: New test.Ian Lance Taylor5-0/+89
* ld-scripts/weak.t: New file. * ld-scripts/weak1.s: New file. * ld-scripts/weak2.s: New file.
1998-06-13emulparams/m32relf.sh: Back out INPUT_FILES change. libgcc1-test fails.Doug Evans1-2/+3
1998-06-13 * scripttempl/elf.sc (INPUT_FILES): Optional INPUT spec.Doug Evans2-3/+17
* emulparams/m32relf.sh (INPUT_FILES): Define. (OTHER_RELOCATING_SECTIONS): Change top of stack to 8MB.
1998-06-12 * Makefile.am (HFILES): Remove config.h.Ian Lance Taylor3-8/+30
(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.
1998-06-12 * po/Make-in (all-yes): If maintainer mode, depend on .pot file.Tom Tromey2-3/+9
($(PACKAGE).pot): Unconditionally depend on POTFILES.
1998-06-09Make 'send' be CONST char * to avoid compiler warning.Nick Clifton1-0/+5
1998-06-05 * configure.tgt (dvp-*-*): Set targ_emul=elf32l5900.Doug Evans1-0/+1
1998-06-05 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set vma to 0Doug Evans2-0/+40
for .DVP.overlay.*.
1998-06-05 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): SetIan Lance Taylor1-0/+9
config.has_shared to true. * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Likewise. * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Likewise.
1998-06-02 * ldlang.c (lang_finish): If the entry symbol is not found, tryIan Lance Taylor2-16/+37
parsing it as a number. * ld.texinfo (Options): Document this.
1998-06-01 * ld.texinfo (Input Section Wildcards): Document SORT keyword.Ian Lance Taylor2-2/+50
1998-05-29 * ld-srec/srec.exp: Add xfails for powerpc*-*-eabi.Ian Lance Taylor2-16/+48
(run_srec_test): On mn10200, define __truncsipsi2_do_d2. * ld-srec/sr1.c (__main): Change return type to void. * ld-srec/sr3.cc (__main): Likewise. (__builtin_delete, __builtin_new): Likewise. (__get_dynamic_handler_chain): Return 0. (__get_eh_context): Likewise.
1998-05-18 From Jason Merrill <jason@cygnus.com>:Ian Lance Taylor2-2/+31
* ldlang.c (wild_sort): Correct order of sort. * scripttempl/elf.sc: Put *crtbegin.o before other .ctors and .dtors. * scripttempl/elfd10v.sc: Likewise. start-sanitize-d30v * scripttempl/elfd30v.sc: Likewise. end-sanitize-d30v * scripttempl/elfppc.sc: Likewise.
1998-05-15 * ldlex.l: Recognize keyword SORT.Ian Lance Taylor7-95/+464
* 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.
1998-05-15* emulparams/m32relf.sh (TEMPLATE_NAME): Define.Richard Henderson1-0/+4
1998-05-14Added support for display emulation specific command line options.Nick Clifton3-2/+43
Added internationalisation to emulation templates. Added --support-old-code command line option to armcoff and pe emulations.
1998-05-06fix xgettext invocationIan Lance Taylor1-1/+1
1998-05-04 * ld-shared/main.c (shlib_overriddencall2): New function.Ian Lance Taylor1-0/+7
(main): Call shlib_shlibcall2. * ld-shared/sh1.c (shlib_shlibcall2): New function. (shlib_overriddencall2): New function. * ld-shared/shared.dat: Add output line for new test. * ld-shared/sun4.dat: Likewise.
1998-05-04comment changesIan Lance Taylor1-21/+48
1998-05-04 * ld-srec/sr3.cc (__get_eh_context): New function.Ian Lance Taylor1-0/+14
1998-04-29Fixed xgettext invocation in .Sanitize filesTom Tromey1-1/+1
1998-04-27 * configure.in: Change version number to 2.9.4Ian Lance Taylor1-0/+3
* configure: Rebuild.
1998-04-27 * ld.texinfo (Options) [-rpath-link]: Mention ld.so.conf.Ian Lance Taylor2-0/+5
1998-04-27xIan Lance Taylor1-0/+1
1998-04-27 * emultempl/elf32.em (global_vercheck_needed): New file staticIan Lance Taylor1-0/+14
variable. (global_vercheck_failed): New file static variable. (gld${EMULATION_NAME}_after_open): Check for shared libraries twice, once with force set to 0 and once with it set to 1. (gld${EMULATION_NAME}_check_ld_so_conf): Add force parameter. Change all callers. (gld${EMULATION_NAME}_search_needed): Likewise. (gld${EMULATION_NAME}_try_needed): Likewise. If not force, check whether the libraries needs any incompatible versions. (gld${EMULATION_NAME}_vercheck): New static function.
1998-04-23If xgettext fails, make Sanitize failTom Tromey1-2/+2
1998-04-22 * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir).Tom Tromey1-0/+4
1998-04-22.Sanitize now re-computes gettext-related filesTom Tromey1-0/+22