aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
1995-10-26 * scripttempl/aix.sc: Move special symbols inside sections.Ian Lance Taylor2-7/+12
Always start .data at 0.
1995-10-25updated for jsmith's file renamingKen Raeburn1-2/+2
1995-10-25 * Makefile.in (diststuff): Also make info.Per Bothner2-9/+14
(maintainer-clean realclean): Also delete *.info*.
1995-10-25add OUTPUT_FORMAT and LIB_SEARCH_DIRSIan Lance Taylor1-0/+2
1995-10-25tweak option handlingIan Lance Taylor1-0/+4
1995-10-25 * emultempl/aix.em: Add support for various AIX linker options,Ian Lance Taylor2-0/+715
for AIX import and export files, and for AIX shared objects. * scripttempl/aix.sc: Add .pad. Put .ds just before the TOC.
1995-10-25 * ldmain.c (main): Initialize new field link_info.static_link.Ian Lance Taylor4-61/+224
* ldmain.c (add_keepsyms_file): Add \n at end of einfo calls. (constructor_callback): Likewise. * ldmisc.c (vfinfo): Likewise. * ldwrite.c (build_link_order): Likewise.
1995-10-25 * ld.texinfo: The MRI ALIGN directive is supported.Ian Lance Taylor2-9/+78
1995-10-23Renamed the VR4300 specific emulparams files to 8.3 unique names,Jackie Smith Cashion2-0/+0
since the old names could cause problems when hosting the source tree on non-Un*x systems.
1995-10-19 * ldlex.l: Treat PROVIDE as a keyword in expression state.Ian Lance Taylor1-0/+4
1995-10-19 * scripttempl/pe.sc (.bss): Move to be after .textSteve Chamberlain1-0/+4
1995-10-17 * emultempl/sunos.em (gld${EMULATION_NAME}_find_exp_assignment):Ian Lance Taylor1-0/+4
Search trinary.cond rather than searching trinary.lhs twice. From linli@ihp.PHys.ethz.CH.
1995-10-17 * emultempl/sunos.em (gld${EMULATION_NAME}_find_so): MoveIan Lance Taylor3-126/+517
directory searching code into gld${EMULATION_NAME}_search_dir. (gld${EMULATION_NAME}_search_dir): New static function, extracted from gld${EMULATION_NAME}_find_so. (global_needed, global_found): New static variables. (gld${EMULATION_NAME}_after_open): New static function. (gld${EMULATION_NAME}_search_needed): New static function. (gld${EMULATION_NAME}_try_needed): New static function. (gld${EMULATION_NAME}_check_needed): New static function. (ld_${EMULATION_NAME}_emulation): Use new after_open function. * ld.texinfo, ld.1: Mention -rpath-link on SunOS.
1995-10-17 * Makefile.in (eelf32ppc.c): Depend upon elf32.em, not generic.em.Ian Lance Taylor2-0/+16
(eelf32lppc.c): Likewise. * emulparams/elf32lppc.sh (TEMPLATE_NAME): Define as elf32. (GENERATE_SHLIB_SCRIPT): Define as yes.
1995-10-16 * configure.tgt (powerpc-*-aix*): New target; use aixppc.Ian Lance Taylor7-4/+43
(rs6000-*-aix*): New target; use aixrs6. * emulparams/aixppc.sh, emulparams/aixrs6.sh: New files. * emultempl/aix.em: New file. * scripttempl/aix.sc: New file. * Makefile.in (ALL_EMULATIONS): Add eaixppc.o and eaixrs6.o. (eaixppc.c, eaixrs6.c): New targets.
1995-10-10 * ldlang.c (lang_finish): Don't try to use an entry_symbol from aIan Lance Taylor1-0/+5
section which was not linked into the final output. PR 8172.
1995-10-10 * emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): FixSteve Chamberlain1-0/+5
fatal typos.
1995-10-10 * ld.h (args_type): Add rpath_link field.Ian Lance Taylor2-0/+65
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search for required dependencies in rpath_link path. Only search LD_LIBRARY_PATH when configured native. * lexsup.c (parse_args): Recognize -rpath-link. * ld.1, ld.texinfo: Document -rpath-link.
1995-10-07 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don'tIan Lance Taylor2-0/+9
bother searching for needed libraries unless doing a final link.
1995-10-06Mon Sep 25 22:49:32 1995 Andreas Schwab ↵Ken Raeburn2-46/+26
<schwab@issan.informatik.uni-dortmund.de> * ld/ld.1: Fix formatting bugs.
1995-10-04 * ldexp.c (exp_get_abs_int): Return bfd_vma, not int.Ian Lance Taylor2-15/+29
* ldexp.h (exp_get_abs_int): Update declaration. * ldlang.c (print_output_section_statement): Use fprintf_vma to print return value of exp_get_abs_int. PR 8142.
1995-10-02 * emultempl/elf32.em (global_stat): New file static variable.Ian Lance Taylor2-4/+59
(gld${EMULATION_NAME}_try_needed): Call stat_needed to make sure that the file has not already been included under another name. (gld${EMULATION_NAME}_stat_needed): New static function.
1995-09-29 * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): IfIan Lance Taylor2-9/+39
command_line.rpath is set, use it, rather than the -L options, to build the rules section. * ld.texinfo: Document this use of -rpath.
1995-09-29 * lexsup.c (parse_args): Don't set link_info.shared for -assertIan Lance Taylor1-0/+28
pure-text. Pass true, not 1, to lang_add_entry. * emultempl/sunos.em (find_assign): New static variable. (found_assign): New static variable. (gld${EMULATION_NAME}_before_allocation): Rename local h to hdyn. If not a relocateable link, and no start symbol was specified on the command line, and there are any undefined symbols, set link_info.shared. If link_info.shared is set, set the address of the .text section to 0x20. (gld${EMULATION_NAME}_find_assignment): Rename from gld${EMULATION_NAME}_find_statement_assignment. If find_assign is set, then just set found_assign based on whether an assignment is found to find_assign. (gld${EMULATION_NAME}_get_script): Don't use a special script when producing a shared library. * emulparams/sun4.sh (GENERATE_SHLIB_SCRIPT): Remove. * scripttempl/aout.sc: Remove CREATE_SHLIB tests. * ldlang.c (entry_from_cmdline): New global variable. (lang_add_entry): Change cmdline parameter from int to boolean. Use global entry_from_cmdline rather than function static from_cmdline. * ldlang.h (entry_from_cmdline): Declare. (lang_add_entry): Change declaration of second parameter from int to boolean. * ldgram.y: Pass false, not 0, to lang_add_entry.
1995-09-28 * ld.h (parsing_defsym): Declare.Ian Lance Taylor2-0/+18
* ldlex.h (lex_string): Declare. * ldlex.l (lex_string): Define. * lexsup.c (parsing_defsym): Define. (parse_args): In OPTION_DEFSYM case, set lex_string before calling lex_redirect, and clear it after calling yyparse. Set parsing_defsym around call to yyparse. * ldmain.c (main): Set lex_string before calling lex_redirect, and clear it after calling yyparse. * ldmisc.c (vfinfo): For %S, handle --defsym arguments and built in linker scripts correctly. PR 8092.
1995-09-28 * scripttempl/sparccoff.sc: Add .ctors/.dtors handling like otherIan Lance Taylor1-0/+4
COFF targets, allowing for the leading underscore used on SPARC COFF. PR 8006.
1995-09-28mention creating SunOS shared librariesIan Lance Taylor1-2/+12
1995-09-28 * ld-shared/shared.exp: Run the tests on sparc*-*-sunos4*. AddIan Lance Taylor3-0/+29
appropriate modifications and setup_xfails. * ld-shared/sun4.dat: New file.
1995-09-28 * lexsup.c (parse_args): Handle -assert.Ian Lance Taylor5-178/+74
* emulparams/sun4.sh (GENERATE_SHLIB_SCRIPT): Define. * emultempl/sunos.em (gld${EMULATION_NAME}_get_script): Use the shared library script when appropriate. * scripttempl/aout.sc: If CREATE_SHLIB is set, start the .text section at SIZEOF_HEADERS.
1995-09-28 * Makefile.in (earmcoff.c): Build.David Edelsohn5-0/+52
* configure.tgt (arm-*-coff): New target * emulparms/armcoff.sh: New file. * scripttempl/armcoff.sc: New file.
1995-09-26 * scripttempl/i386coff.sc: Remove .data2; no longer needed.Ian Lance Taylor1-0/+4
1995-09-22 * ldfile.c (ldfile_set_output_arch): Make arch const.Ian Lance Taylor1-0/+4
1995-09-21Locate __bss_start at the real start of bss.Michael Meissner2-3/+20
1995-09-18 Based on patches by Alan Modra <alan@spri.levels.unisa.edu.au>:Ian Lance Taylor2-8/+16
* Makefile.in (CC_FOR_TARGET): Remove brokensed stuff. (CXX_FOR_TARGET): Likewise. (install): Likewise. (GENERATED_HFILES): Remove config.h. (.dep): Depend upon config.h.
1995-09-18Mon Sep 18 14:39:38 1995 Arne H. Juul <arnej@pvv.unit.no>Ian Lance Taylor1-0/+4
* configure.tgt (mips*-dec-netbsd*): New target.
1995-09-18 * lib/ld.exp (default_ld_version): Call prune_system_crud.Ian Lance Taylor1-3/+17
(default_ld_relocate, default_ld_link): Likewise. (default_ld_simple_link, default_ld_compile): Likewise. (default_ld_assemble, default_ld_nm): Likewise.
1995-09-18mention COFF linker improvementIan Lance Taylor1-3/+31
1995-09-16configure.host: fix shell syntax errorsKen Raeburn1-0/+9
1995-09-12 * Makefile.in (maintainer-clean): New target.Ian Lance Taylor2-1/+5
1995-09-12 * ldmain.c (struct warning_callback_info): Define.Ian Lance Taylor1-1/+8
(warning_callback): Add new parameter symbol. Call warning_find_reloc to try to find the section and VMA. (warning_find_reloc): New static function. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Pass NULL as symbol parameter to warning callback.
1995-09-12Thu Sep 7 12:50:49 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-0/+6
* scripttemp/pe.sc: Allow both spellings of .ctors/.dtors. Start .text section on the right boundary. Always align stabs.
1995-09-12 * ld.texinfo: Clarify -L option.Ian Lance Taylor1-0/+2
1995-09-12 * ldlang.c (lang_one_common): Add cast to avoid warning.Ian Lance Taylor1-0/+8
(topower): Likewise. Also, reindent. * ldwrite.c (clone_section): Change i to unsigned int. * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Add cast to avoid warning.
1995-09-11Revert Linux directory searching: it turns out that Linux no longerIan Lance Taylor6-171/+4
uses it.
1995-09-08 Add Linux style directory searching.Ian Lance Taylor6-11/+219
* configure.tgt: Add i386lelf to targ_extra_emuls for i[345]86-*-linuxaout* and i[345]86-*-linuxoldld. For i[345]86-*-linux*, set targ_emul to i386lelf, and add elf_i386 to targ_extra_emuls. * emulparams/i386lelf.sh: New file, a copy of elf_i386.sh. * emultempl/elf32.em: If TARGET_IS_i386lelf, use autoconf recommended mechanism to define DIR and struct dirent. (libcmp): New static function use only when TARGET_IS_i386lelf. (gld${EMULATION_NAME}_open_dynamic_archive): Likewise. * Makefile.in (ALL_EMULATIONS): Add ei386lelf.o (ei386lelf.c): New target.
1995-09-08 * ldemul.h (ldemul_set_symbols): Declare.Ian Lance Taylor1-0/+4
(ldemul_parse_args): Declare. * ldemul.c (ldemul_parse_args): Fix indentation.
1995-09-08 * ld-cdtest/cdtest.exp: If the compiler does not exist, mark theIan Lance Taylor1-0/+9
tests as untested rather than unresolved.
1995-09-08 * configure.in: Call AC_HEADER_DIRENT.Ian Lance Taylor2-12/+25
* configure, config.in: Rebuild. * emultempl/sunos.em: Use autoconf recommend mechanism to define DIR and struct dirent.
1995-09-08 * configure.tgt (mips*-*-bsd*): New case.Ian Lance Taylor2-0/+3
1995-09-08 * configure.host (i[345]86-sequent-ptx* | i[345]86-sequent-sysv*)Ian Lance Taylor3-0/+131
New case. * configure.tgt (i[345]86-*-ptx*): New case.