aboutsummaryrefslogtreecommitdiff
path: root/ld/ldsym.c
AgeCommit message (Collapse)AuthorFilesLines
1993-05-03comment formatting fixupKen Raeburn1-2/+2
1993-03-30Tue Mar 30 09:40:25 1993 Steve Chamberlain (sac@thepub.cygnus.com)Steve Chamberlain1-254/+310
* 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-02-25 * ldsym.c (KEEP macro): Add spaces around '=' for thePer Bothner1-1/+1
sake of old (e.g. PCC) compilers.
1993-02-09Removed garbage after #endif.Ian Lance Taylor1-1/+1
1993-01-26Tue Jan 26 11:49:50 1993 Ian Lance Taylor (ian@cygnus.com)Ian Lance Taylor1-2/+2
* ldmain.c, ldsym.c: Use new bfd_is_com_section macro rather than checking for equality to bfd_com_section.
1992-12-22 * ldexp.c, ldlang.c, ldmain.c, ldsym.c, ldwarn.c: Use newPer Bothner1-1/+1
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-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-09-25* Makefile.in (ldexp.o, ldctor.o, ldlang.o, ldmain.o, ldwrite.o, lexsup.o,Ken Raeburn1-3/+108
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-08-21common/undef sym handling fix from p3Ken Raeburn1-14/+13
1992-05-06 changed calling convention for Q_enter_global_refSteve Chamberlain1-5/+1
* ldexp.c, ldlang.c, ldmain.c: reflect this * ldver.c: bump version to 1.97.1 * ldindr.c (add_indirect): when an edict declaring an indirect symbol is found, make sure that any ideas about the symbol being common are changed if it now known to be defined. * ldmain.c (linear_library): complain once if archive isn't ranlibbed. * ldlang.h, ldlang.c: make room for and initialize the complain once field.
1992-05-04 * ldver.c: Bumped version to 1.96 - new release, resync with theSteve Chamberlain1-108/+117
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-02-02Work around for problems in linking C++ programs that need file-levelMichael Tiemann1-0/+3
initialization. Now C++ programs can be linked.
1992-01-28 * ldgram.y: map -M behave in the same way as -Map (sets file nameSteve Chamberlain1-1/+1
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-24.Sanitize: added relax.cSteve Chamberlain1-24/+26
ldsym.c ldlang.* more map stuff
1992-01-24Merging from VMS port. Doc to follow..Steve Chamberlain1-22/+36
1991-11-12uses __inline for now for gccSteve Chamberlain1-2/+3
1991-11-06Call new bfd entrypoint bfd_make_section_old_waySteve Chamberlain1-34/+36
1991-11-04Sun Nov 3 16:37:37 1991 Steve Chamberlain (steve at cygnus.com)Steve Chamberlain1-1/+1
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-16 Add or update copyright notices.Per Bothner1-18/+11
1991-10-11Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first.John Gilmore1-1/+1
1991-10-01Various lints and uses the new arch functionsSteve Chamberlain1-3/+1
1991-08-06Patches to fix bugs reported by roland McGrathSteve Chamberlain1-16/+74
1991-08-01Added new keyword 'CONSTRUCTORS'Steve Chamberlain1-1/+1
Added N_WARNING handling Added N_INDR handling
1991-06-04*** empty log message ***Steve Chamberlain1-39/+35
1991-05-18*** empty log message ***Steve Chamberlain1-31/+31
1991-04-17Moved declarations from header file into here.Steve Chamberlain1-0/+2
1991-04-15Merges from Intel.Steve Chamberlain1-11/+7
Chrisb bug fixes.
1991-04-14checkpoint before a mergeSteve Chamberlain1-26/+0
1991-03-27*** empty log message ***Steve Chamberlain1-2/+20
1991-03-22Brought up to sync with Intel again.Steve Chamberlain1-5/+2
1991-03-21Back from Intel with SteveDavid Henkel-Wallace1-2/+5
1991-03-21Initial revisionDavid Henkel-Wallace1-0/+452