aboutsummaryrefslogtreecommitdiff
path: root/ld/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
1993-02-12 * ldgram.y: allow section types without address expressions.Steve Chamberlain1-0/+16
* ldlang.c (lang_relocate_globals): avoid possible hang with undefined but unreferenced symbols. * relax.c (relax_section): don't complain if the script file isn't relaxable but -relax is set
1993-02-02Tue Feb 2 11:32:27 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-0/+10
* mips.sc-sh: Put .scommon sections into .sbss section. * ldmain.c (subfile_wanted_p): Preserve section of common symbols, rather than always putting them in bfd_com_section. * ldlang.c (lang_common): If a common symbol is not in bfd_com_section, put in a section of the same name, rather than always putting it in section COMMON.
1993-01-29Fri Jan 29 09:57:58 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-0/+4
* ldmain.c (subfile_wanted_p): If we already have a common definition of a symbol, don't necessarily pull in an object file that provides a non-common definition.
1993-01-29Fri Jan 29 09:57:58 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-0/+8
* ldlex.l (COMMAND): Accept -EB and -EL command line arguments, returning OPTION_EB and OPTION_EL. gcc passes these to a MIPS linker. * ldgram.y (OPTION_EB, OPTION_EL): New tokens. (command_line_option): Accept and ignore OPTION_EB and OPTION_EL.
1993-01-28Thu Jan 28 15:12:04 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-0/+5
* Makefile.in (install): Remove $(tooldir)/bin/gld before creating the link to it.
1993-01-26Tue Jan 26 11:49:50 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-0/+5
* ldmain.c, ldsym.c: Use new bfd_is_com_section macro rather than checking for equality to bfd_com_section.
1993-01-22Fri Jan 22 14:22:44 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-0/+16
* mips.sc-sh: New file. Ultrix, and hopefully other MIPS ECOFF targets, linker script. * mipslit.sh: New file. Little endian MIPS emulation. * config/mips-lit.mt: New file. Use mipslit emulation. * configure.in (mips-dec-ultrix*): Use target mips-lit. * Makefile.in (ALL_EMULATIONS): Added em_mipslit.o. (em_mipslit.c): New target. Uses mipslit.sh.
1993-01-12Mon Jan 11 18:50:07 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)Ian Lance Taylor1-0/+10
* ldwrite.c: Removed perform_relocation, copy_and_relocate, and write_norel. All linking is now done via write_relax. Call ldsym_write before calling write_relax. * relax.c: Added copyright. (write_relax): Renamed from write_relaxnorel. Added relocateable argument. seclet_dump renamed to bfd_seclet_link. * relax.h: Added copyright.
1993-01-11 * ldmain.c (decode_library_subfile): Patch fromSteve Chamberlain1-0/+12
hoogen@shafer.cs.utah.edu, don't reread library symbol tables.
1993-01-08 Fix support for NOLOAD, add INCLUDESteve Chamberlain1-0/+18
* ldfile.c (ldfile_open_command_file): pass file name to lex_push_file. * ldlex.l, ldgram.y: tidy up, parse INCLUDE and NOLOAD * ldlang.c (wild_doit): make output sections inherit NEVER_LOAD attribute.
1992-12-28Mon Dec 28 11:15:35 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-0/+10
* m68kcoff.sc-sh: define _end as well as end, for consistency with aout.sc-sh. * configure.in: accept *-ericsson-ose for any m68k CPU. * ldwrite.c (write_rel): don't always set SEC_HAS_CONTENTS flag for each output section.
1992-12-22 * ldexp.c, ldlang.c, ldmain.c, ldsym.c, ldwarn.c: Use newPer Bothner1-0/+20
macro bfd_asymbol_bfd as appropriate. * Makefile.in: Un-duplicate ldlex.c dependency. * condigure.in: Replace my_host case table by sourcing ../bfd/configure.host. Allow std-host as the default. * ldmisc.c: Change logic for C++ name demangling: There is no initial '_' to remove from stab-derived function names.
1992-12-07 -y supportSteve Chamberlain1-0/+8
* ld.texinfo: new doc. * ldgram.y, ldlex.l: understand -y<symbol> * ldmain.c (Q_enter_file_symbols): if had -y, lookup symbol and print info. (add_ysym): new function. * ldsym.h: (ldsym_type): new define SYM_Y.
1992-11-21* ldctor.h, lderror.h, ldexp.h, ldfile.h, ldindr.h, ldlang.c,John Gilmore1-0/+11
ldlang.h, ldlex.h, ldmain.h, ldmisc.h, ldsym.h, ldver.h, ldwarn.h, ldwrite.h, relax.h: Replace all uses of EXFUN and PROTO ansi-glue macros with PARAMS. Recreational cleanup. Update copyrights.
1992-11-06Thu Nov 5 15:41:55 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-0/+6
* ldlang.c (lang_size_sections): don't change size and address for SEC_SHARED_LIBRARY sections rather than for SEC_NEVER_LOAD sections.
1992-11-05 * relax.c (build_it): re-enable the processing of data_statementsSteve Chamberlain1-0/+5
in scripts, makes counted contructor lists work again.
1992-11-05Remove uses of SDEF and PROTO macros (use PARAMS).John Gilmore1-0/+9
1992-10-19Mon Oct 19 09:45:38 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-0/+15
* Support for i386-sysv. configure.in: check for i386-*-sysv* and i386-*-sco*. i386coff.sc-sh: rewrote to support SVR3 by default. ldctor.c (find_constructors): preserve stat_ptr. ldlang.c (wild_doit): initialize vma and size of new output section to corresponding input section. This is required for shared library support. (lang_size_sections): don't modify vma and size of sections which are never loaded (for shared libraries). ldwrite.c (copy_and_relocate): copy the contents of any section which has contents, not just sections which are loaded (for shared libraries).
1992-10-15 * ldlang.c (size_input_section): count the sizes of all sectionsSteve Chamberlain1-0/+5
we allocate.
1992-10-12Thu Oct 8 09:05:25 1992 Steve Chamberlain (sac@thepub.cygnus.com)Steve Chamberlain1-0/+5
* ldmisc.c (demangle,vfinfo): use the new underscore info in bfd to to demangle symbols better
1992-10-06Tue Oct 6 13:08:54 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-0/+5
* ldlang.c (lang_finish): don't warn if -e start symbol does not exist when linking with -r.
1992-10-05Mon Oct 5 14:07:37 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-0/+5
* aout.sc-sh, m68kcoff.sc-sh: set __bss_start to the start of the .bss segment.
1992-10-05Mon Oct 5 08:55:14 1992 Steve Chamberlain (sac@thepub.cygnus.com)Steve Chamberlain1-0/+9
* ldmain.c (linear_library): don't even think about processing an object file if it's already been done
1992-09-30 * config/z8ksim.mt: new fileSteve Chamberlain1-1/+5
1992-09-25* Makefile.in (ldexp.o, ldctor.o, ldlang.o, ldmain.o, ldwrite.o, lexsup.o,Ken Raeburn1-0/+21
mri.o, relax.o): Indicate dependence on ldgram.h. * ld.h (strip_symbols_type): Add value STRIP_SOME. * ldgram.y (OPTION_RETAIN_SYMBOLS_FILE): New terminal token. (lang_add_keepsyms_file): New function. * ldlex.l: Handle "-retain-symbols-file". * ldsym.c (keepsyms_file, kept_syms): New vars. (process_keepsyms): New functihon; reads file, marks symbols for saving. (write_file_locals): File symbols should always be kept. (ldsym_write): Warn about "-retain-symbols-file" overriding "-S" and "-s". Process retain-symbols file before setting symtab. * ldsym.h (SYM_KEEP): New flag for ldsym_type flags. (keepsyms_file, kept_syms): Declare them. * ldmain.c (main): Non-fatal errors should still cause non-zero exit status even with -r.
1992-09-25Fri Sep 25 11:08:01 1992 Steve Chamberlain (sac@thepub.cygnus.com)Steve Chamberlain1-0/+9
Added initial support for the z8k * z8ksim.em, z8ksim.sc-sh, z8ksim.sh: new files * configure.in, Makefile.in: modified to reflect above * ldlang.c (lang_check): when linking conflicting architectures, make the output file reflect at least one of the bad inputs.
1992-09-15Tue Sep 15 15:35:38 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-0/+5
* Makefile.in (install): if $(tooldir) exists, install ld in $(tooldir)/bin.
1992-09-11Support for i386-coffSteve Chamberlain1-0/+5
1992-09-09Brought in from p3. If anybody knows good numbers for m68k COFF,Ian Lance Taylor1-0/+16
please let me know, or plug them in yourself. Wed Sep 9 11:52:58 1992 Ian Lance Taylor (ian@cygnus.com) * Makefile.in, m68kcoff.sh, m68kcoff.sc-sh, config/m68k-coff.mt: added m68k-coff emulation mode, stolen from a29k emulation. Almost certainly wrong, but perhaps better than sun3. Also fixed an error message in configure.in so that it started with '***' like the other error messages do.
1992-09-04Note version change to 2.0.Per Bothner1-0/+11
1992-09-02 * ldmisc.c (xrealloc): New (needed by ../libiberty/cplus.dem.c).Per Bothner1-0/+6
* ldlex.l: Moved comment() to end, since some compilers otherwise have problems with input() used before it is defined.
1992-09-02new configure triple work, added solaris 2 & irix host support, fix FLEX ↵David D. Zuhn1-0/+11
definition
1992-09-01Brought forward from p3:Ian Lance Taylor1-0/+5
Sun Aug 30 21:38:53 1992 Ian Lance Taylor (ian@cygnus.com) * Makefile.in: map "ld" through program_transform_name when installing.
1992-08-31 * cplus-dem.c: Removed. Use the version in libiberty now.Per Bothner1-0/+5
* ldmisc.c: Use new libiberty version of cplus_demangle().
1992-08-29Update ChangeLog, removing yesterday's 960 change and putting inIan Lance Taylor1-2/+2
todays (960 now always uses little endian ordering).
1992-08-28Thu Aug 27 16:38:42 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-0/+5
* gld960.em (gld960_choose_target): the target depends on HOST_BIG_ENDIAN_P.
1992-08-27 * ldlang.c (lang_process): don't pass null pointers whenSteve Chamberlain1-0/+9
abs_output_section is what is required. * ldwrite.c (ldwrite): use malloc to allocate the largest space used, and pass that down. * relax.c,relax.h (write_relaxnorel): use the passed malloc area rather than alloca.
1992-08-24Renamed OSE configuration to ose.Ian Lance Taylor1-0/+4
1992-08-21common/undef sym handling fix from p3Ken Raeburn1-0/+5
1992-08-18Moved in from p3:Ian Lance Taylor1-0/+6
Tue Aug 18 13:41:36 1992 Ian Lance Taylor (ian@cygnus.com) * configure.in: accept all m68K family members. * Makefile.in: always create installation directories.
1992-08-13 * ldlex.l: now parses comment correctly, added ~ to acceptableSteve Chamberlain1-0/+11
chars in filenames * ldexp.c (exp_unop): pass down abs_output_section - now can have unary -ve constants. * ldlang.c (lang_finish): warn when an entry symbol supplied on the command line can't be found.
1992-08-07 * ldlang.h: add new field "loadable" to output_section_statement.Steve Chamberlain1-0/+11
* ldlang.c (lang_output_section_statement_lookup): initilize new field. (wild_doit): if new field is not set, then stop output section from being loadable. (lang_enter_output_section_statement): set the field from the NOLOAD keyword * ldgram.y: new synax for NOLOAD. Removes a shift/reduce too. * h8300hms.sc-sh, h8300hms.em: get -r right.
1992-08-07 * ldint.texinfo: New internals manual (beginnings thereof).Per Bothner1-0/+5
* PORTING: Removed, merged into ldint.texinfo.
1992-08-05 * cdtest-main.cc, cdtest-func.cc, cdtest-foo.h, cdtest-foo.cc,Per Bothner1-0/+7
cdtest.exp: A test program (copied from libg++/test-install) that tests that constructor and destructors are handled corrrectly.
1992-08-03fix installation problem which forced a relink of ld on 2nd and subsequent ↵David D. Zuhn1-0/+14
installation
1992-07-18removed rcsidsK. Richard Pixley1-0/+5
1992-07-14 * ldlang.c (lang_map): print changes in sizes due to relaxingSteve Chamberlain1-0/+9
(size_input_section): maintain the delta information. * ldlang.h: add new field to struct to contain delta info. * relax.c (relax_section): complain if input not relaxable. * ldlex.l : add '_', ',' and '$' to chars which can appear at the start of a filename
1992-07-14 * ldmain.c(main): prevent -r and -relax from being on at the sameSteve Chamberlain1-3/+5
time.
1992-07-10Support -program_suffix (and make -program_prefix actually work).David Henkel-Wallace1-0/+3
1992-07-02,Steve Chamberlain1-0/+6