aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmain.c
AgeCommit message (Collapse)AuthorFilesLines
1994-02-05 * ldmisc.c (ldmalloc, xmalloc, ldrealloc, xrealloc): FunctionsDavid MacKenzie1-14/+36
deleted; will use libiberty versions instead. * ldctor.c ldfile.c ldlang.c ldmain.c ldmisc.c ldmisc.h lexsup.c mri.c Makefile.in: Change callers. * ldmisc.c (vfinfo): Remove cleanup code. * ldmain.c (remove_output): Put it here (new function). (preserve_output): New function. (main): Register remove_output and preserve_output with atexit. * ldmain.c ldgram.y: Call xexit instead of exit. * ldmisc.h: Declare xexit.
1994-01-27 * ldmain.c ldmain.h ldgram.y: If -v -V or --version was given,David MacKenzie1-1/+7
exit successfully instead of complaining if no input files are given.
1994-01-25Tue Jan 25 13:19:41 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs1-1/+6
* ldmain.c (main): Compute and display total execution time. * ld.texinfo (-stats): Document the option.
1994-01-24 * ldmain.c (reloc_overflow): Added name, reloc_name and addendIan Lance Taylor1-4/+15
arguments.
1994-01-06 * ldmain.c (add_to_set): Add bitsize argument.Ian Lance Taylor1-843/+387
(constructor_callback): New function. (link_callbacks): Add constructor_callback. * ldctor.c (struct set_info): Add bitsize field. (ldctor_add_set_entry): Add bitsize argument. (ldctor_build_sets): Base the size of the elements of the set on the bitsize, rather than always using LONG. * ldctor.h (ldctor_add_set_entry): Add bitsize to declaration.
1993-12-12More gcc lint.Ian Lance Taylor1-45/+66
1993-12-11 Made many changes to eliminate gcc warnings. Made variousIan Lance Taylor1-10/+16
cosmetic changes, declared various things in header files, removed various extern declarations from .c files. No substantive changes.
1993-11-19 * ldmain.c (enter_file_symbols): Removed duplicate tests of p. IfIan Lance Taylor1-44/+98
p is in a common section, make sure the BFD has a section of that name.
1993-08-03add -warn-common optionDavid MacKenzie1-35/+55
1993-07-15remove dupliate includeDavid MacKenzie1-1/+1
1993-07-15source cleanups; fix finding scriptsDavid MacKenzie1-47/+54
1993-07-15 * ldfile.c (ldlang_open_file, ldfile_open_command_file),David MacKenzie1-1/+1
main.c (main): Print the errno string in the error message.
1993-07-13 * ldmain.c (set_scripts_dir): Check . and <ld bin dir>/../lib forDavid MacKenzie1-14/+30
ldscripts, as well as <ld bin dir> and SCRIPTDIR.
1993-07-12 * ldlang.c (lang_process): Use sizeof instead of magic constant.David MacKenzie1-54/+121
* ldmain.c (get_emulation, check_for_scripts_dir, set_scripts_dir): New functions. (main): Call them.
1993-07-03 Fix previous fix.David MacKenzie1-0/+5
1993-07-03 * ldmain.c (main): Don't add scriptdir to the lib search path.David MacKenzie1-24/+51
* genscripts.sh: Put the scripts in the ldscripts directory, not emulations. * configure.in (ldscripts): Make, instead of emulations. * Makefile.in (scriptdir): Take off the "ld" part. (install, clean, distclean): Use ldscripts, not emulations. In tests, pass -L., not -Lemulations. (ldmain.o): Don't pass -DSCRIPTDIR=.... * ldlang.c (lang_process): Add "ldscripts/" to the name of the default script file.
1993-03-30Tue Mar 30 09:40:25 1993 Steve Chamberlain (sac@thepub.cygnus.com)Steve Chamberlain1-230/+229
* ldindr.c (add_indirect): Keep more information in the alias symbol chain. * ldlang.c (wild_doit): Don't inherit NEVER_LOAD section attribute from an input section. * ldmain.c (Q_enter_file_symbols): Common section is NEVER_LOAD by default. (Q_enter_file_symbos): Indirect symbols now are known by their section, not a special symbol flag. * ldsym.c (write_file_locals): Indirect symbols aren't local. (write_file_globals): Write the mapping for an indirect symbol. * relax.c (build_it): When forced to write a NEVER_LOAD section, fill it with zeros.
1993-01-29Fri Jan 29 09:57:58 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-5/+10
* 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-26Tue Jan 26 11:49:50 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-61/+114
* ldmain.c, ldsym.c: Use new bfd_is_com_section macro rather than checking for equality to bfd_com_section.
1992-10-05Mon Oct 5 08:55:14 1992 Steve Chamberlain (sac@thepub.cygnus.com)Steve Chamberlain1-58/+59
* ldmain.c (linear_library): don't even think about processing an object file if it's already been done
1992-07-02Aliasing bug fixesSteve Chamberlain1-105/+115
1992-06-08*** empty log message ***Steve Chamberlain1-442/+507
1992-06-08*** empty log message ***Steve Chamberlain1-22/+32
1992-05-06 * ldfile.c: merge in VMS filename supportSteve Chamberlain1-13/+26
* ldmain.c (main): take out ./ from library path, and close file before unlinking. Make multiple defs of a symbol create an unexecable file. * ldmisc.c: fatal errosrs delete output file
1992-05-04 * ldver.c: Bumped version to 1.96 - new release, resync with theSteve Chamberlain1-7/+8
bfd too #. * ldexp.c, ldlang.c: now build memory shape tree in obstacks rather than with raw malloc, makes it easier to track where memory is going. * ldsym.h, ldsym.c: create obstack for all global symbols too. * ldwrite.c (ldwrite): moved malloc so only used when needed. * sa29200-sc.sh: added support for .lit, data1 and data2 sections.
1992-04-05New lexer.Steve Chamberlain1-2/+10
New targets for h8/300 simulator and DOS
1992-03-06 * ldmain.c (Q_enter_file_symbols): now aliases work againSteve Chamberlain1-23/+26
1992-01-28 * ldgram.y: map -M behave in the same way as -Map (sets file nameSteve Chamberlain1-40/+47
to be "-". * ldsym.c, ldlang.c: remember that size of a section is dependent on whether or not relaxing has been done. * ldmain.c: don't open a map file if it doesn't have a name * relax.c: all the brains have moved into bfd. * ldwrite.c: ammend comment
1992-01-24Now compiles with gcc too.Steve Chamberlain1-2/+2
1992-01-24 * Makefile.in: added relax, also made three stage go through aSteve Chamberlain1-0/+11
partial link stage. * relax.c : added * config.h: if GNU960 defined, then default emulation mode is GLD960 * ldexp.h, ldexp.c: map to file hooks * ldlang.c: map to file hooks * ldgram.y: added -Map -relax * ldlex.l: added -relax, -Map * ldmain.c: open map file * ldmisc.c: support for map file * ldwrite.c: new relax magic
1992-01-24Merging from VMS port. Doc to follow..Steve Chamberlain1-41/+43
1991-11-04Sun Nov 3 16:37:37 1991 Steve Chamberlain (steve at cygnus.com)Steve Chamberlain1-11/+11
i386 aout changes from Bob Kukura * Makefile.in, config.h: added i386aout support * configure.in: fixed /h-{myhost} typo * ldgram.y: -MM now gives more boring map. * ldlang.c: now does D_PAGED flag the right way. * ldsym.c: -MM flags does the right thing.
1991-10-11Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first.John Gilmore1-5/+2
1991-10-05Added -N and fixed -n flags.Steve Chamberlain1-114/+127
Changed name of h8 support
1991-08-01Added new keyword 'CONSTRUCTORS'Steve Chamberlain1-91/+120
Added N_WARNING handling Added N_INDR handling
1991-05-14*** empty log message ***Steve Chamberlain1-1/+1
1991-05-03*** empty log message ***Steve Chamberlain1-1/+1
1991-04-17*** empty log message ***Steve Chamberlain1-2/+2
1991-04-15Merges from Intel.Steve Chamberlain1-11/+53
Chrisb bug fixes.
1991-04-14checkpoint before a mergeSteve Chamberlain1-38/+11
1991-03-22Brought up to sync with Intel again.Steve Chamberlain1-3/+3
1991-03-21Initial revisionDavid Henkel-Wallace1-0/+806