aboutsummaryrefslogtreecommitdiff
path: root/binutils
AgeCommit message (Collapse)AuthorFilesLines
1993-12-23Various entries.Ian Lance Taylor1-0/+38
1993-12-23 gcc -Wall lint:Ian Lance Taylor1-94/+90
* ar.c (main): Put parens around assignment used as truth value. * objdump.c (display_bfd): Declare return value as void. (stab_print): Use "" instead of 0 to initialize array. (dump_stabs_1): Print vma using printf_vma. (display_info): Put parens around assignment used as truth value. * strings.c (print_strings): Cast printf arguments.
1993-12-10 * nlmheader.y (command): Accept MAP and FULLMAP without arguments.Ian Lance Taylor1-0/+5
* nlmconv.c (main): Change error message for MAP and FULLMAP.
1993-12-10 * nlmconv.c (main): Warn about imported symbols that are not inIan Lance Taylor2-2/+4
the IMPORT list even if the IMPORT keyword is not used. Fixes PR 4006.
1993-12-10 * nlmconv.c (debug, unlink_on_exit): New static variables.Ian Lance Taylor3-56/+435
(long_options): Add "debug" and "linker". (main): Handle -d and -l arguments. Make command line input and output files optional. Parse the command file before opening the BFD's, which requires storing more information in local variables. If INPUT names multiple files, link them together. Use OUTPUT for the output file name if not named on command line. (show_usage): Changed for new options. (link_inputs): New function to automatically invoke linker to handle multiple INPUT files. (choose_temp_base_try, choose_temp_base, pexecute): New functions, mostly copied from gcc/gcc.c. * nlmconv.h (input_files, output_file): Declare. * nlmheader.y (input_files, output_file): Define. (command): Support INPUT with a string_list argument. Support OUTPUT. (string_list): Renamed from module_list. * Makefile.in (nlmconv.o): Define LD_NAME based on program_transform_name. Fixes PR 3974.
1993-12-08 * nlmheader.y (nlmheader_identify): New function. Use it to printIan Lance Taylor2-0/+967
the program name just once, instead of with every error message. Fixes PR 3973.
1993-12-06 * nlmconv.c (long_options): Changed --header-info to --header-fileIan Lance Taylor2-21/+215
to match documentation and usage message.
1993-12-05 * objdump.c (dump_relocs): Avoid dereferencing a NULL sym_ptr_ptrJeff Law1-0/+25
in a relocation.
1993-12-03 * config/unix.exp: Add global before seeing if the variables forRob Savoye1-0/+6
nm, objdump, and size exist.
1993-12-03 * Makefile.in: Remove some stuff from the site.exp file.Rob Savoye1-11/+1
* config/unix.exp: Add global before seeing if the variables for nm, objdump, and size exist.
1993-12-02Remove unused declaration from nlmconv.c. Add ChangeLog entry forIan Lance Taylor2-3/+10
Sean's change.
1993-12-02Restore changes clobbered by Sean's check in.Ian Lance Taylor1-9/+24
1993-11-23 * binutils.texi: fix bug in nlmconv docJeffrey Osier1-8/+11
1993-11-19 binutils.texi: minor fix for nlmconv chapterJeffrey Osier1-2/+12
1993-11-17 * nlmconv.1: new man pageJeffrey Osier3-39/+128
* objcopy.1: fixed format errors
1993-11-17 * Makefile.in: Use CFLAGS as well as LDFLAGS when linking.Ian Lance Taylor2-25/+38
1993-11-17fix typoDavid MacKenzie2-1/+10
1993-11-14 * objdump.c (dump_stabs): Handle stabs-in-som as implementedJeff Law1-0/+5
by the new BFD SOM assembler.
1993-11-13fix NAME hyphenDavid MacKenzie10-9/+15
1993-11-09 * nlmconv.c (i386_mangle_relocs): Adjust reloc address byIan Lance Taylor1-0/+9
section output_offset.
1993-11-05Trying to fix repository after cvs breakage...Ken Raeburn1-1127/+0
1993-11-05 binutils.texi: added nlmconv chapterJeffrey Osier1-3/+59
1993-11-05First cut at sanitization, doc files, &c for gas/binutils releasesKen Raeburn1-0/+1127
1993-11-04Rename RUNTESTFLAGS to RUNTEST_FLAGSJeffrey Wheat1-0/+8
1993-11-03 * config/udi.exp,unix.exp: Transform tool name.Rob Savoye2-18/+34
* binutils.all/*.exp: Clear errorInfo after exec.
1993-11-02objcopy.c (S_ISLNK): Define as 0 if there is no S_IFLNK.David MacKenzie1-0/+6
1993-10-30put objcopy in alphabetical orderDavid MacKenzie1-86/+86
1993-10-29use xmalloc instead of mallocDavid MacKenzie1-0/+4
1993-10-29Rename a variable that conflicts with LynxStan Shebs2-14/+20
1993-10-29 * ar.c (main): Always create the archive when quick appending,Stan Shebs1-0/+5
even if no input files have been given.
1993-10-27 * nlmconv.c (main): Set sharedDebugRecordOffset andIan Lance Taylor1-0/+3
sharedDebugRecordCount fields in extended header.
1993-10-27 * nlmconv.c (main): Force moduleName field to upper case.Ian Lance Taylor2-42/+110
1993-10-25 * objcopy.c (main): Give a usage message if there are too manyIan Lance Taylor1-0/+5
arguments.
1993-10-25* Makefile.in (install-info): Rewrite to take advantage of VPATH, so FSFKen Raeburn1-0/+17
distributions (with info files in $(srcdir)) install properly. (DISTSTUFF): Build nlmheader.c too.
1993-10-22note change to fprintf declarationMark Eichin1-0/+9
1993-10-22hide declaration of fprintf inside FPRINTF_ALREADY_DECLARED, becauseMark Eichin1-0/+3
this declaration can be wrong but there must *be* a declaration for include/dis-asm.h to work.
1993-10-01Makefile.in (binutils.dvi): use TEXIDIR to find texinfo.texRoland Pesch2-25/+40
binutils.texi (ar): improve synopsis lines (strings): fix overfull box in synopsis (passim) remove some contractions
1993-09-23 * objdump.c (usage): Mention --stabs.Ian Lance Taylor2-59/+76
1993-09-23 * objcopy.c (copy_object): Copy all applicable file flags.Ian Lance Taylor2-0/+711
(copy_file): Don't copy EXEC_P specially here. This permits strip to generate an executable file on UnixWare; it still does not actually strip the debugging information.
1993-09-20 * nlmconv.c (main): Adjust data section size to correspond to bssIan Lance Taylor1-0/+21
alignment adjustment. Clear BSF_SECTION_SYM if symbol is moved to a different section. Use time_t for time variable. (setup_sections): Only put sections with contents in output NLM. (i386_mangle_relocs): No symbols are common at this point. Add casts to avoid warnings.
1993-09-10* Makefile.in (install): Don't put strings in tooldir/bin.David MacKenzie1-0/+4
1993-09-06 * nlmconv.c (total_bss_size): Removed.Ian Lance Taylor1-0/+10
(main): Set the bss vma to always follow the data section. Move symbols into new sections, and adjust values by output_offset. (setup_sections): Don't copy all sections, but instead point all text sections to .text, all data sections to .data, and all bss sections to .bss. (copy_sections): Adjust accordingly.
1993-09-02 Only build nlmconv if configured for a NetWare target.Ian Lance Taylor2-1/+9
* configure.in: If we have some *-*-netware* target, or are using all targets, set BUILD_NLMCONV to $(NLMCONV_PROG) in Makefile. * Makefile.in (PROGS): Use $(BUILD_NLMCONV) rather than $(NLMCONV_PROG).
1993-08-31* objdump.c (ARCH_all): Define ARCH_hppa too.Ken Raeburn2-34/+179
(dump_headers): Don't test for SEC_BALIGN if it's not defined by bfd.h. (The latter is done with #ifdef in case it turns out SEC_BALIGN has to be put back. I didn't *see* any uses of it besides this one, though.)
1993-08-31 * nlmconv.c (main): Force creation of .bss section. Set up theIan Lance Taylor2-39/+347
sections before looking at the symbols. Move all common symbols into .bss section. Automatically define _edata and _end. Only export symbols in the export list, with multiple prefixes if necessary. Warn if no version. Always create extended header. Set date automatically if not already set. (setup_sections): Count size of bss sections. (mangle_relocs, i386_mangle_relocs): Accept section argument, and take reloc_count as a changeable pointer; changed callers. (i386_mangle_relocs): Remove PC relative relocs within a section, as they require no adjustment. * nlmheader.y: Fixed memory allocation throughout: token STRING is now allocated on the heap, and freed if not needed. Null terminated copyright message. Accept version with only two strings. (symbol_list_opt): New nonterminal, either symbol_list or empty. (symbol_list): Use left recursion to avoid overflowing parser stack. (yylex): Rearranged beginning of line check. Accept quoted strings using single quotes. End generic argument at comment character or parentheses. (string_list_append): Fixed. (string_list_append1): New function.
1993-08-31 * Makefile.in (objdump.o): Depend upon config.status to noticeIan Lance Taylor1-2/+3
--with-targets changes. (nlmconv.o): Depend upon bucomm.h.
1993-08-23nuke chill stuff from MakefileDavid D. Zuhn1-1/+33
1993-08-13remove mention of nmDavid MacKenzie1-15/+9
1993-08-13 * Makefile.in ($(NM_PROG)): Depend on demangle.o.David MacKenzie3-16/+35
(demangle.o): New target. (cplus-dem.o): Depend on it, to force compilation order when doing parallel compiles. * nm.c (print_symbol_info_{bsd,sysv,posix}): Take a bfd arg. (struct output_fns print_symbol_info): Ditto. (long_options, usage, main): Add -C --demangle option. (print_symname): New function, demangling if requested. (print_symbols, print_symbol_info_{bsd,sysv,posix}): Use it.
1993-08-12Wed Aug 11 22:57:23 1993 David J. Mackenzie (djm@thepub.cygnus.com)David MacKenzie1-64/+79
* Makefile.in: Put CFLAGS last in compilation rules and omit from linking rules. Use ARCHDEFS to compile objdump.c. Update dependencies. * configure.in: Construct ARCHDEFS based on the BFD target makefile fragments. * objdump.c: Conditionalize calls to the print_insn_ARCH functions according to ARCHDEFS.