aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
1992-12-07 -y supportSteve Chamberlain3-32/+64
* 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 Gilmore7-68/+119
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 Chamberlain2-87/+93
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-29 * mri.c, ldlang.c, ldlex.l, ldgram.y: add new keywordsSteve Chamberlain1-6/+7
ALIGN, ALIGNMOD, and TRUNCATE. * ldsym.c: (hash_string, search, process_keepsyms): support truncation of symbols.
1992-10-26Added \n to error message.Ian Lance Taylor1-1/+1
1992-10-20Tue Oct 20 10:56:06 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-3/+3
* m68kcoff.sc-sh: don't use initial underscores for etext, edata and end.
1992-10-19Mon Oct 19 09:45:38 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor3-28/+47
* 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 Chamberlain2-1/+6
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 Taylor2-1/+19
* 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 Taylor3-0/+7
* 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 Chamberlain2-58/+68
* ldmain.c (linear_library): don't even think about processing an object file if it's already been done
1992-10-02Use target i386-aout for i386-*-aout. This just provides a defaultIan Lance Taylor1-1/+5
emulation mode (of 1386aout).
1992-10-02renamed hp9000.h to hp300.hDavid D. Zuhn1-0/+4
1992-09-30 * config/z8ksim.mt: new fileSteve Chamberlain3-1/+8
1992-09-29Added new hp9000.mh file.Ian Lance Taylor1-0/+1
1992-09-29HP/UX needs -Wp,-P when compiling with -O (comment only, since theIan Lance Taylor1-0/+4
default is not to use -O).
1992-09-25* Makefile.in (ldexp.o, ldctor.o, ldlang.o, ldmain.o, ldwrite.o, lexsup.o,Ken Raeburn3-3/+134
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 Chamberlain7-24/+180
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 Taylor2-3/+13
* Makefile.in (install): if $(tooldir) exists, install ld in $(tooldir)/bin.
1992-09-11Sanitize slipSteve Chamberlain2-1/+44
1992-09-11Add i386coff.shSteve Chamberlain1-1/+5
1992-09-11New filesSteve Chamberlain2-0/+2
1992-09-11Support for i386-coffSteve Chamberlain4-1/+17
1992-09-09Brought in from p3. If anybody knows good numbers for m68k COFF,Ian Lance Taylor2-0/+2
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.
1992-09-09Brought in from p3. If anybody knows good numbers for m68k COFF,Ian Lance Taylor6-181/+241
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-04 * Makefile.in, Makefile.dos, generic.em, genscripts.sh,Per Bothner8-27/+27
gld960.em, h8300hms.em, h8300xray.em, lnk960.em, st2000.em, vanilla.em: Rename all (generated) ld__*.c files to em_.c. This is one character shorter, and lets people build on SVR3 system. (ld__h8300xray.[co] was the killer there; h8300xray.sc-sh is also overlong, but seems harmless.) Based on a patch from Jonathan Ryshpan <hitachi!amito!jon>. * Makefile.in (clean): Fix typo mostclean -> mostlyclean. * configure.in: Add host isc.
1992-09-04Note version change to 2.0.Per Bothner1-0/+11
1992-09-03Add TODO.Per Bothner1-1/+5
1992-09-03 * ldver.c: Bump to version 0.98.Per Bothner1-0/+11
* TODO: New file.
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. Zuhn2-1/+12
definition
1992-09-01Removed cplus-dem.[ch]. (These are now in ../libiberty.)Per Bothner1-2/+2
1992-09-01Add scripts.Per Bothner1-1/+5
1992-09-01Add isc-sysv3.2.sc.Per Bothner1-0/+33
1992-09-01Remove non-existant file hp300bsd.mh.Per Bothner1-1/+0
1992-09-01Brought forward from p3:Ian Lance Taylor2-8/+11
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 Bothner3-5/+14
* 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-28Back out yesterday's change for using host endian order in 960 bout files.Ian Lance Taylor1-4/+0
1992-08-28Thu Aug 27 16:38:42 1992 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor2-0/+10
* 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 Chamberlain3-6/+18
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 Taylor4-2/+7
1992-08-21common/undef sym handling fix from p3Ken Raeburn2-14/+18
1992-08-19Introduce more blanks in examples; minor formatting cleanup.Roland Pesch1-34/+34
1992-08-18Moved in from p3:Ian Lance Taylor3-10/+41
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-17Use new name of man page (ld.1).Roland Pesch2-3/+6
1992-08-17Thanks to Zoo watchfulness:Roland Pesch1-0/+1048
(1) reflect current name of linker (now "ld", not "gld"); (2) fill in missing portion of a reference to full manual; (3) fix old random typo spotted while proofing above.