aboutsummaryrefslogtreecommitdiff
path: root/ld/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
1996-08-26 * ldver.c (ldversion): Print GNU ld in the version message.Ian Lance Taylor1-0/+12
1996-08-22 * Makefile.in (ev850.c): New target.Jeff Law1-0/+8
* configure.tgt (v850-*-*): New target. * emulparams/v850.sh: New file. No, it doesn't work (gas doesn't even emit relocs yet), but having a "ld" that at least creates an executable image greatly helps the gcc testsuite.
1996-08-22 * mpw-make.sed: Add @DASH_C_FLAG@ to compiler edit.Stan Shebs1-0/+4
1996-08-21tweak last patchIan Lance Taylor1-1/+2
1996-08-21 * scripttempl/elf.sc: Put .gnu.linkonce* sections in .text.Ian Lance Taylor1-0/+4
1996-08-19 * fnmatch.c: Include sysdep.h.Ian Lance Taylor1-0/+4
1996-08-19Undo 8/16 change; explictly set MACHINE= for d10vMichael Meissner1-0/+19
1996-08-16Fri Aug 16 14:15:41 1996 James G. Smith <jsmith@cygnus.co.uk>Jackie Smith Cashion1-0/+11
* scripttempl/armcoff.sc (__bss_start__, __bss_end__, __data_start__, __data_end__): Added to keep in sync. with the default ARM crt0.s. Added __CTOR_LIST__ and __DTOR_LIST__ support.
1996-08-07Wed Aug 7 14:40:48 1996 Philippe De Muyter <phdm@info.ucl.ac.be>Ian Lance Taylor1-0/+12
* configure.in: Call BFD_NEED_DECLARATION on strstr and sbrk. * acconfig.h (NEED_DECLARATION_STRSTR): New macro. (NEED_DECLARATION_SBRK): New macro. * configure, config.in: Rebuild. * sysdep.h (strstr): Declare if NEED_DECLARATION_STRSTR. * ldmain.c (sbrk): Declare if HAVE_SBRK and NEED_DECLARATION_SBRK.
1996-08-05 * ldlex.l: Recognize OVERLAY.Ian Lance Taylor1-0/+39
* ldgram.y: Add section_phdr field to %union. (section): Handle phdr_opt result. Add OVERLAY case. (opt_exp_without_type): New nonterminal. (phdr_opt): Return list of phdrs. (overlay_section): New nonterminal. * ldlang.c: Include <ctype.h>. (lang_leave_output_section_statement): Add phdrs parameter. Change all callers. (lang_section_in_phdr): Remove. (overlay_vma, overlay_lmn, overlay_max): New static variables. (struct overlay_list): Define. (overlay_list): New static variable. (lang_enter_overlay, lang_enter_overlay_section): New functions. (lang_leave_overlay_section, lang_leave_overlay): New functions. * ldlang.h (lang_leave_output_section_statement): Update declaration for new parameter. (lang_section_in_phdr): Don't declare. (lang_enter_overlay, lang_enter_overlay_section): Declare. (lang_leave_overlay_section, lang_leave_overlay): Declare. * ld.texinfo (Overlays): New node under SECTIONS, documenting overlays. * ldlex.l: Recognize MAX and MIN. * ldgram.y (MAX, MIN): New terminals. (exp): Recognize MAX and MIN. * ldexp.c (fold_binary): Handle MAX and MIN. * ld.texinfo (Arithmetic Functions): Document MAX and MIN. * ld.texinfo (PHDRS): Use @cindex, not @kindex, for program header index entries. * ldgram.y (SIZEOF, ADDR): Do not specify type.
1996-08-02 * ldgram.y (LOADADDR): New terminal.Ian Lance Taylor1-0/+10
(exp): Handle LOADADDR. * ldlex.l: Recognize LOADADDR. * ldexp.c (exp_print_token): Add LOADADDR. (fold_name): Implement LOADADDR. * ldlang.c (exp_init_os): Treat LOADADDR like ADDR. * ld.texinfo (Arithmetic Functions): Document LOADADDR.
1996-08-01 * ld.h (check_nocrossrefs): Declare.Ian Lance Taylor1-0/+29
* ldlang.h (struct lang_nocrossref): Define. (struct lang_nocrossrefs): Define. (nocrossref_list): Declare. (lang_add_nocrossref): Declare. * ldlex.l: Recognize NOCROSSREFS keyword. * ldgram.y (%union): Add nocrossref field. (NOCROSSREFS): New terminal. (ifile_p1): Recognize NOCROSSREFS. (nocrossref_list): New nonterminal. * ldlang.c (nocrossref_list): Define. (lang_add_nocrossref): New function. * ldmain.c (main): If nocrossref_list is not NULL, call check_nocrossrefs. (warning_callback): Free symbols if there is no place to store them. (notice): Call add_cref if nocrossref_list is not NULL. * ldcref.c: Include "ldexp.h" and "ldlang.h". (check_nocrossrefs): New function. (check_nocrossref): New static function. (struct check_refs_info): Define. (check_refs, check_reloc_refs): New static functions. * Makefile.in: Rebuild dependencies. * ld.texinfo (Option Commands): Document NOCROSSREFS.
1996-08-01 * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): MoveIan Lance Taylor1-0/+5
definition of lib_path inside condition where it is used.
1996-07-31Wed Jul 31 13:17:10 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+4
* emulparams/d10velf.sh: Now works with elf.sc.
1996-07-31Wed Jul 31 11:52:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-1/+7
* emulparams/d10velf.sh (SCRIPT_NAME): Change to vanilla.
1996-07-30 * ldlang.c (lang_size_sections): Add the section VMA to the resultIan Lance Taylor1-0/+3
value when computing the address of a section.
1996-07-30 * ld.h (args_type): Add cref field.Ian Lance Taylor1-0/+11
* lexsup.c (parse_args): Set command_line.cref. * ldmain.c (main): Check command_line.cref rather than link_info.notice_all. (notice): Likewise.
1996-07-29 * fnmatch.h, fnmatch.c: New files.Ian Lance Taylor1-0/+27
* ldlex.l: Remove unused definition of FILENAME. Add definition of WILDCHAR. In SCRIPT mode, accept any sequence of WILDCHAR as a NAME. * ldgram.y (file_NAME_list): Accept '*' and '?' specially. (input_section_spec): Accept '?' specially. (statement): Change exp to mustbe_exp in length and FILL cases. (section): Call ldlex_script before section statements, and call ldlex_popstate after them. * ldlang.c: Include "fnmatch.h". (wildcardp): New static function. (wild_section): Permit the section name to be a wildcard. (wild_file): New static function, broken out of wild. (wild): Call wild_file. Permit the file name to be a wildcard. (open_input_bfds): Don't call lookup_name for a wildcard pattern. * Makefile.in: Rebuild dependencies. (CFILES): Add fnmatch.c. (HFILES): Add fnmatch.h. (OFILES): Add fnmatch.o. * ld.texinfo: Document that file and section names can now be wildcard patterns. * ldlang.c (lang_place_orphans): Correct condition: place a common section if not relocateable or if common definitions are forced.
1996-07-24start-sanitize-d10vMartin Hunt1-0/+4
Wed Jul 24 12:16:38 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * emulparams/d10velf.sh (SCRIPT_NAME): Change to elf. end-sanitize-d10v
1996-07-24Allow plain d10v as a targetMichael Meissner1-0/+4
1996-07-23start-sanitize-d10vMartin Hunt1-0/+8
Tue Jul 23 10:36:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * Makefile.in (ed10velf.c): New target. * configure.tgt (d10v-*-elf*): New target. * emulparams/d10velf.sh: New file. end-sanitize-d10v
1996-07-18 * configure.tgt (sparc*-*-sysv4*): New target. From Andrew GierthIan Lance Taylor1-0/+3
<ANDREWG@microlise.co.uk>.
1996-07-18 * configure.host: Change irix5 to irix[56]*.Ian Lance Taylor1-0/+5
* configure.tgt: Likewise.
1996-07-18Pay attention to return codeKim Knuttila1-0/+2
1996-07-17Strip prefix '.'s from nameKim Knuttila1-0/+4
1996-07-15Mon Jul 15 11:49:49 1996 Andreas Schwab ↵Ian Lance Taylor1-0/+6
<schwab@issan.informatik.uni-dortmund.de> * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Round the value of __start_SECNAME to the alignment required by the section to be placed.
1996-07-09 * configure.tgt (mips*el-*-elf*): Use elf32elmip.Ian Lance Taylor1-0/+15
(mips*-*-elf*): Use elf32ebmip. * emulparams/elf32bmip.sh (EMBEDDED): Don't define. * emulparams/elf32lmip.sh (EMBEDDED): Don't define. * emulparams/elf32elmip.sh: New file; copy of elf32lmip.sh with EMBEDDED defined. * emulparams/elf32ebmip.sh: New file; copy of elf32bmip.sh with EMBEDDED defined. * emulparams/elf32b4300.sh (EMBEDDED): Define. * emulparams/elf32l4300.sh (EMBEDDED): Define. * Makefile.in (ALL_EMULATIONS): Add eelf32ebmip.o eelf32elmip.o. (eelf32ebmip.c, eelf32elmip.c): New targets. Irix 5 is not an embedded system.
1996-07-05No longer sanitize away h8s stuff.Jeff Law1-2/+0
1996-07-04 * ldver.c (ldversion): Set version to cygnus-2.7.1.Ian Lance Taylor1-0/+2
1996-07-04 * emulparams/pc532macha.sh: Rename from pc532machaout.sh to avoidIan Lance Taylor1-0/+8
System V file name limitations. * configure.tgt (nc32k-pc532-mach*, ns32k-pc532-ux*): Use pc532macha rather than pc532machaout. * Makefile.in (ALL_EMULATIONS): Change epc532machaout.o to epc532macha.o. (epc532macha.c): Rename target from epc532machaout.c.
1996-07-04xIan Lance Taylor1-0/+4
1996-07-03 * ldlang.c (print_padding_statement): Use %u, not %x, to printIan Lance Taylor1-0/+5
fill value.
1996-06-30 * mpw-eppcmac.c: Update to reflect May 23 change to aix.em.Stan Shebs1-0/+7
1996-06-27 * configure.host: Use -print-file-name=FILE rather than pipingIan Lance Taylor1-0/+8
-print-libgcc-file-name through sed. (i[345]86*-*-sco*, i[345]86-*-isc*): Create crtbegin.o and crtend.o files, in case gcc doesn't use them. * Makefile.in (mostlyclean): Remove crtbegin.o and crtend.o.
1996-06-26 * configure.tgt (mips*-dec-osf*): New target.Ian Lance Taylor1-0/+4
1996-06-25 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,Jason Molenda1-0/+15
INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values. (docdir): Removed. * configure.in (AC_PREREQ): autoconf 2.5 or higher. (AC_PROG_INSTALL): Added. * configure: Rebuilt.
1996-06-24Mon Jun 24 17:55:31 1996 Jouke Numan <jnuman@bazis.nl>Ian Lance Taylor1-0/+25
* ldlang.h (enum section_type): Define. (lang_output_section_statement_type): Remove loadable field. Add sectype field. (lang_enter_output_section_statement): Change flags parameter in prototype to sectype. * ldgram.y (typebits): Remove. (sectype): New static variable. (opt_at): Use sectype rather than typebits. (type): Set sectype rather than typebits. (atype): Likewise. * ldlex.l: Recognize DSECT, COPY, INFO, and OVERLAY in EXPRESSION mode. * ldlang.c (lang_output_section_statement_lookup): Set sectype field rather than loadable field. (wild_doit): Check sectype rather than loadable. (lang_record_phdrs): Likewise. (lang_enter_output_section_statement): Rename flags parameter to sectype. Set sectype field rather than loadable field. Set flags field based on sectype.
1996-06-24 * configure.in: On alpha*-*-osf*, link against libbfd.a if notIan Lance Taylor1-0/+6
using shared libraries. * configure: Rebuild with autoconf 2.10.
1996-06-21Fri Jun 21 17:40:56 1996 Joel Sherrill <joel@merlin.gcs.redstone.army.mil>Ian Lance Taylor1-0/+4
* configure.tgt: Add support for *-*-rtems* configurations.
1996-06-21Fri Jun 21 13:05:51 1996 Richard Henderson <rth@tamu.edu>Ian Lance Taylor1-0/+15
* configure.tgt (alpha-*-linuxecoff*): New target. (alpha-*-linux*): Use elf64alpha. * emulparams/elf64alpha.sh: New file. * emultempl/elf32.em: If ELFSIZE is not set, set it to 32. Use ${ELFSIZE} rather than 32 when calling BFD routines. (hold_rodata): New static variable. (gld${EMULATION_NAME}_place_orphan): Use hold_rodata for a readonly section that is not code. (gld${EMULATION_NAME}_place_section): Set hold_rodata. Don't use a .rel section unless its bfd_section field is not NULL. * Makefile.in (ALL_EMULATIONS): Add eelf64alpha.o. (eelf64alpha.c): New target.
1996-06-21 * ldmisc.c (vfinfo): Correct handling of 0 in %W case.Ian Lance Taylor1-0/+4
1996-06-20 Add enough support to understand the gcc svr3.ifile script:Ian Lance Taylor1-0/+39
* ldlex.l: Recognize BLOCK and GROUP in EXPRESSION context. Add BIND keyword. * ldgram.y: Add BIND token. (section): Recognize GROUP. (opt_ext_with_type): Recognize a couple of cases of BIND. * ldlang.c (init_os): Don't do anything if section is already initialized. Call exp_init_os on addr_tree field. (exp_init_os): New static function. (map_input_to_output_sections): Call exp_init_os on assignment expression. (lang_place_orphans): Check for common sections by name COMMON rather than by common_section field. Don't warn about absence of [COMMON] command.
1996-06-18 * configure.tgt (i[345]86*-*-isc*): New target. FromIan Lance Taylor1-1/+13
<uddeborg@carmen.se>.
1996-06-07 * emultempl/sunos.em: Include libiberty.h.Ian Lance Taylor1-0/+7
(gld${EMULATION_NAME}_set_symbols): New static function to add LD_LIBRARY_PATH to the list of search directories. (ld_${EMULATION_NAME}_emulation): Add new set_symbols routine.
1996-06-06 * emulparams/elf32bmip.sh (OTHER_GOT_SYMBOLS): Use ALIGN(16)Ian Lance Taylor1-0/+4
rather than . when computing _gp value. From Per Fogelstrom. * emulparams/elf32lmip.sh (OTHER_GOT_SYMBOLS): Likewise.
1996-06-06 * ldmain.c (main): Don't close and unlink the file on error, sinceIan Lance Taylor1-0/+11
remove_output will do it anyhow. * ldlang.c (open_output): Set boolean variable to true, not 1.
1996-06-04 * ldcref.c: New file.Ian Lance Taylor1-0/+17
* ld.h (add_cref, output_cref): Declare. * ldmain.c (main): Initialize notice_all field. If it is set at end of link, call output_cref. (notice): Rename from notice_ysym. Check notice_all. * ldmisc.c (finfo): Make globally visible. * ldmisc.h (finfo): Declare. * lexsup.c (OPTION_CREF): Define. (ld_options): Add "cref". (parse_args): Handle OPTION_CREF. * Makefile.in: Rebuild dependencies. (CFILES): Add ldcref.c. (OFILES): Add ldcref.o. * ld.texinfo, ld.1: Document --cref.
1996-06-04 * Makefile.in (install): Don't check to see if tooldir exists.Tom Tromey1-0/+4
Make $(tooldir) and $(tooldir)/bin.
1996-05-31 * emultempl/pe.em (sort_sections): Don't assume that aIan Lance Taylor1-0/+5
wild_statement has a section name.
1996-05-29 * scripttempl/elfmips.sc: Quote test -z argument.Ian Lance Taylor1-0/+2