aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmisc.c
AgeCommit message (Collapse)AuthorFilesLines
1996-04-26 * ldmisc.h (demangle): Declare.Ian Lance Taylor1-23/+32
* ldmisc.c: Include "libiberty.h". Include demangle.h with "", not <>. (demangle): Make non-static. Remove remove_underscore paramter. Always return an allocated string. (vfinfo): Free result of demangle. Add case 'G'. Use %T to print functionname, rather than calling demangle. Print a colon between the BFD(section+offset) and the line number. * ldmain.c (add_archive_element): Improve format of archive information in map file. (constructor_callback): Don't print anything to the map file. * ldlang.c (lang_one_common): Improve format of common symbol information in map file. * ldctor.c (ldctor_build_sets): If producing a map file, print set information. * ldwrite.c (print_symbol_table): Print a newline before the header in the map file. * Makefile.in: Rebuild dependencies.
1996-04-26 * ldmisc.c (vfinfo): Reindent.Ian Lance Taylor1-245/+248
1996-01-12 * ldmisc.c: Include <stdarg.h> rather than <varargs.h> ifIan Lance Taylor1-57/+105
ANSI_PROTOTYPES is defined. Remove special handling of WINDOWS_NT. Various indendation fixes. (vfinfo): Change fmt parameter to const char *. (info_msg): Write <stdarg.h> version. (einfo, minfo, finfo): Likewise. (info_assert): Change file parameter to const char *. * ldmisc.h (einfo, minfo, info_msg): If ANSI_PROTOTYPES is defined, use a real prototype. (info_assert): Change first parameter to be const char *.
1995-10-25 * ldmain.c (main): Initialize new field link_info.static_link.Ian Lance Taylor1-19/+57
* ldmain.c (add_keepsyms_file): Add \n at end of einfo calls. (constructor_callback): Likewise. * ldmisc.c (vfinfo): Likewise. * ldwrite.c (build_link_order): Likewise.
1994-09-14Tweak the new handling of function names.Ian Lance Taylor1-3/+33
1994-09-14 * ldmisc.c (vfinfo): Handle %D as %C, but never print the functionIan Lance Taylor1-4/+9
name. For %C, print the function name on a separate line, to keep the length of error messages under control. * ldmain.c (multiple_definition): Use %D for ``first defined here.'' (undefined_symbol): Use %D for ``more undefined references follow''. PR 3770.
1994-09-14 * ldmisc.c (multiple_warn): Remove; no longer used.Ian Lance Taylor1-61/+9
* ldmisc.h (multiple_warn): Don't declare.
1994-02-17 * ldlang.c, ldmain.c, ldmisc.c: Use bfd_get_error andDavid MacKenzie1-58/+6
bfd_set_error and new error names.
1994-01-28 * ldmisc.c (vfinfo): For `%I', if the file is in an archive, printDavid MacKenzie1-81/+87
the archive filename too.
1993-12-11 Made many changes to eliminate gcc warnings. Made variousIan Lance Taylor1-33/+41
cosmetic changes, declared various things in header files, removed various extern declarations from .c files. No substantive changes.
1993-08-03add -warn-common optionDavid MacKenzie1-22/+50
1993-07-08ldmisc.h (einfo, minfo, info): Don't bother with PARAMS macro when noKen Raeburn1-54/+93
prototype is being supplied. (ldmalloc, ldrealloc): Size argument is now size_t. ldmisc.c (finfo): New function, accepts FILE* argument. (vfinfo, case 'v'): New format character; displays bfd_vma in hex without leading zeros. (vfinfo, cases 'R' and 'C'): Use finfo(%v) when displaying a bfd_vma value, instead of fprintf(%x) which won't hold a long long value. (concat, buystring): String lengths are size_t. (ldmalloc, ldrealloc, xrealloc): Size argument is now size_t.
1992-08-31 * cplus-dem.c: Removed. Use the version in libiberty now.Per Bothner1-3/+4
* ldmisc.c: Use new libiberty version of cplus_demangle().
1992-08-13 * ldlex.l: now parses comment correctly, added ~ to acceptableSteve Chamberlain1-133/+136
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-04-05New lexer.Steve Chamberlain1-83/+138
New targets for h8/300 simulator and DOS
1992-01-24Merging from VMS port. Doc to follow..Steve Chamberlain1-54/+122
1991-04-15Merges from Intel.Steve Chamberlain1-5/+7
Chrisb bug fixes.
1991-04-14checkpoint before a mergeSteve Chamberlain1-5/+5
1991-04-03Fixed some grammer ambiguitiesSteve Chamberlain1-36/+12
Better error reporting sun3 support
1991-03-22Brought up to sync with Intel again.Steve Chamberlain1-2/+2
1991-03-21Initial revisionDavid Henkel-Wallace1-0/+303