aboutsummaryrefslogtreecommitdiff
path: root/binutils
AgeCommit message (Collapse)AuthorFilesLines
1995-09-07 * config.in: Rename from config.h.in.Ian Lance Taylor6-23/+63
* configure.in: Call AC_CONFIG_HEADER with config.h:config.in. Check for config.h:config.in when creating stamp-h. * configure: Rebuild. * Makefile.in (stamp-h): Depend upon config.in rather than config.h.in. Set CONFIG_HEADERS to config.h:config.in when calling config.status.
1995-09-07 * Makefile.in (distclean): Remove config.h, stamp-h, andIan Lance Taylor2-1/+4
config.log.
1995-09-07 * nm.c (value_format): Initialize based on BFD64 andIan Lance Taylor1-0/+14
BFD_HOST_64BIT_LONG. (print_radix): New static variable. (set_print_radix): Set print_radix. Adjust changes to value_format. (print_value): New static function, to print 64 bit octal and decimal values correctly. (print_symbol_info_bsd): Check BFD64, not BFD_HOST_64_BIT. Use print_value. (print_symbol_info_sysv): Use print_value. (print_symbol_info_posix): Likewise.
1995-09-07 * Makefile.in (*.o): Remove incorrect dependencies onIan Lance Taylor2-14/+28
$(BFDDIR)/hosts/std-host.h.
1995-09-06 * configure.in: Rewrite to use autoconf.Ian Lance Taylor7-750/+1588
* aclocal.m4: New file. * configure: New file, built by autoconf. * acconfig.h: New file. * config.h.in: New file, built by autoheader. * Makefile.in: Various changes for new configure script. Also: (PROGS): Remove $(SYSINFO_PROG). (ALL_CFLAGS): Remove $(TDEFINES). (version.o): Use $(ALL_CFLAGS). (cplus-dem.o, dlltool.o, nlmconv.o): Likewise. (sysdump.o): Depend upon bucomm.h and config.h. (srconv.o, arsup.o, strings.o): Depend upon config.h. (filemode.o): Don't depend upon ../bfd/sysdep.h. (bucomm.o): Depend upon config.h, not ../bfd/sysdep.h. (size.o, objdump.o, nm.o, ar.o, objcopy.o): Likewise. (nlmheader.o, nlmconv.o): Likewise. (distclean): Don't remove sysdep.h. * bucomm.h: Include "ansidecl.h", <stdio.h>, and "config.h". Include "fopen-same.h" or "fopen-bin.h", based on USE_BINARY_FOPEN. Include <errno.h>, and declare errno if it is not a macro. Include <unistd.h>, <string.h>, <strings.h>, <stdlib.h>, and <fcntl.h> if they are present. Declare strchr, strrchr, and strstr if no string header file exists. Include <sys/file.h> if it exists and <fcntl.h> does not. Define O_RDONLY and O_RDWR if necessary. * ar.c: Don't include "sysdep.h". Do include <sys/types.h> and <sys/stat.h>. Use HAVE_GOOD_UTIME_H rather than POSIX_UTIME. Use HAVE_UTIMES rather than !USE_UTIME. Don't include <errno.h>, and don't declare errno. * arsup.c: Don't include <sysdep.h>. * bucomm.c: Don't include "sysdep.h". Include <stdio.h>, <sys/types.h>, and <sys/stat.h>. Include <time.h> if it defines time_t. Define time_t if necessary. * coffdump.c: Don't include "sysdep.h". * coffgrok.c, filemode.c, nlmconv.c, size.c: Likewise. * srconv.c, strings.c: Likewise. * nm.c: Don't include "sysdep.h". Don't try to define HAVE_SBRK. * objcopy.c: Don't include "sysdep.h". Include <sys/types.h> and <sys/stat.h>. (simple_copy): Use creat rather than assuming that O_CREAT is defined. * objdump.c: Don't include "sysdep.h". Use NEED_DECLARATION_PRINTF rather than !FPRINTF_ALREADY_DECLARED. * sysdump.c: Include "bfd.h" and "bucomm.h". Don't include "sysdep.h" or <stdlib.h>. (dump_symbol_info): Rename from symbol_info. Change all callers.
1995-09-04 * configure.in (host_makefile_frag): Don't set. Substitute forIan Lance Taylor3-9/+21
@CC@, @CFLAGS@, @HDEFINES@ and @LDFLAGS@ in Makefile. * Makefile.in (AR_FLAGS): Set to rc rather than qv. (CC): Define as @CC@. (CFLAGS): Set to @CFLAGS@. (LDFLAGS): Define as @LDFLAGS@. (ALL_CFLAGS): Use @HDEFINES@ rather than $(HDEFINES).
1995-09-04 * configure.in: Don't bother to call config.bfd for each target.Ian Lance Taylor2-4/+10
Just call it for the default target, and use the shell variable to decide whether underscores are used.
1995-09-01 * configure.in: match i[3-6]86-*-win32, not just i386-*-win32.Jason Molenda2-8/+44
1995-08-31Thu Aug 31 16:30:22 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain2-20/+55
* dlltool.c (add_indirect): New. (asm_prefix): New (gen_exp_file): Timestamp should be 0. Insert prefix when needed. New code for indirection. (gen_lib_file): Timestamp should be 0. Insert prefix when needed. (usage): Document --add-indirect. (main): Cope with new option. * objdump.c (dump_private_headers): New. (usage): Document new option. (long_option): Add private-headers. (dump_bfd_private_header): New. (main): Cope with new option.
1995-08-31 * dlltool.c (run): Add missing 3rd arg to waitpid.David Edelsohn2-11/+13
1995-08-30 * Makefile.in (TOOL_PROGS): Include dlltool if needed.Steve Chamberlain2-21/+56
1995-08-29 Put _iname in idata$7.Steve Chamberlain1-1/+1
1995-08-29Tue Aug 29 13:25:21 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain2-159/+168
* dlltool.c (rva): Deleted. (rvaafter, rva_before): Use new assembler pseudo. (flush_page, gen_exp_file, gen_lib_file): Use new way of RVAing. (gen_exp_file): Don't generate .edata if no need. (gen_lib_file): Don't make timestamp. (workout_prefix): Fix memory initialization bug. (usage): Tidy up, delete many single char options. (main): rva option is gone.
1995-08-22 * dlltool.c (options): image-base is a synonym for rva.Steve Chamberlain2-2/+7
1995-08-20Sun Aug 20 09:59:00 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain2-125/+374
Modified to generate archives and objects rather than .s files. * dlltool.c (run) New function. (gen_exp_file, gen_lib_file): Use run. (workout_prefix): New. (usage): Document new options. (main): Parse new options.
1995-08-16 * dlltool.c (gen_exp_file): Fix RVA handling.Steve Chamberlain2-21/+22
(rva_s, rva_n): Delete.
1995-08-16 * binutils-all/nm.exp: Add setup_xfail for mips*-sony-bsd* forIan Lance Taylor1-0/+3
tests which fail on ECOFF targets.
1995-08-16 * binutils-all/objcopy.exp: Change i*86-*-linux xfail for simpleIan Lance Taylor2-1/+6
copy test to check for i*86-*-linuxaout* instead.
1995-08-11 * nm.c (main): Ignore -e.Ian Lance Taylor1-0/+4
PR 6758.
1995-08-10put version number into doc from makefileKen Raeburn2-2/+11
1995-08-10 * coffgrok.c (do_type): Handle array dimensions the same way gdbIan Lance Taylor1-1/+6
does.
1995-08-09 * dlltool.c (mtable): New fields.Steve Chamberlain2-11/+67
(ASM_RVA_BEFORE, ASM_RVA_AFTER): New. (flush_page, gen_lib_file): Use new macros.
1995-08-08 * binutils-all/objcopy.exp: Add setup_xfail for a29k-*-vxworks*Ian Lance Taylor2-2/+35
for simple copy test.
1995-08-05 * objcopy.c (mark_symbols_used_in_relocations): Handle sectionsJeff Law1-1/+4
with no relocations. * coffgrok.c (do_sections_p1): Likewise. Fix for net bug.
1995-07-31 * strings.c (print_strings): For compatibility with existingIan Lance Taylor2-4/+4
strings programs, print strings which are not terminated with a null byte or a newline. * binutils.texi, strings.1: Update documentation accordingly.
1995-07-31 * ar.c (replace_members): For compatibility with existing arIan Lance Taylor1-0/+12
programs, permit users to add the same file multiple times.
1995-07-25 * strings.c (DATA_FLAGS): Remove SEC_DATA.Ian Lance Taylor2-8/+8
(main): If no file names are given, scan standard input. * binutils.texi, strings.1: strings now scans non-data sections by default.
1995-07-24srconv.c (writeINT): When size == -2, use 2 bytes for the h8300 and 4 bytesJ.T. Conklin1-0/+3
for the sh.
1995-07-24* srconv.c (wr_hd): Set afl field to 4 for bfd_arch_sh.J.T. Conklin2-17/+55
* sysdump.c (fillup): Return size - 1, the last byte is a checksum and shouldn't be counted. * sysroff.info (hd): Changed segment identifier from a byte to a 1 bit field. The sysroff 2.0-01 specification seems to be in error here. Reduce width of following "spare" field from 4 to 3 bits. (rl): Changed order and width of first 4 bitfields to correspond to sysroff specification. (dln_head, dln_inside, dln_tail): Removed.
1995-07-14* sysdump.c (dh): Changed format of output to be 16 hex digitsJ.T. Conklin2-8/+7
followed by 16 ascii characters, similar to Emacs' hexl-mode, to make it easier to read.
1995-07-13* srconv.c (wr_tr): Write out handcrafted tr block.J.T. Conklin2-83/+122
(walk_tree_symbol): Use evallen and evalue instead of vallen & value because of corresponding changes in sysroff.info. * sysdump.c (sysroff_swap_tr_in, sysroff_print_tr_out): New functions. * sysroff.info (tr): the tr block is a special case --- a block without contents --- which can't be handled by generated code. (den, dpp): only first byte is present for DENend, DPPend. (dsy): describe a conditional portion of block, rename some fields. (dps): describe a conditional portion of block. (dfl): removed. * sysinfo.y (yyerror): write error message to standard error.
1995-07-13 * Makefile.in (DISTSTUFF): Add arparse.h and sysinfo.h.Ian Lance Taylor1-0/+7
(mostlyclean): Remove y.output. (clean): Remove sysroff, sysroff.c, sysroff.h, and sysinfo. * nlmconv.c (powerpc_mangle_relocs): Cast memset arg to size_t. * objcopy.c (copy_object): Likewise.
1995-07-13 * nm.c (HAVE_SBRK): Define execpt on amigados and WINDOWS_NT.Ian Lance Taylor1-0/+23
(struct size_sym): Define. (show_stats): New static variable. (long_options): Add undocumented option "stats". (main): Print memory stats if requested. (sort_bfd, sort_dynamic, sort_x, sort_y): New static variables. (numeric_forward): Use minisymbols rather than asymbols. (non_numeric_forward): Likewise. (size_forward1): Rename from size_forward. Use minisymbols. (size_forward2): New static function. (sort_symbols_by_size): Take new arguments dynamic, size, and symsizep. Use minisymbols. Don't store the size back in the symbol; store in a newly allocate struct size_sym array. (display_rel_file): Read minisymbols rather than asymbols. Set sort_* variables. Call print_size_symbols if sorting by size. (filter_symbols): Take new arguments dynamic and size. Use minisymbols. (print_symbols): Likewise. Call print_symbol for actual printing. (print_size_symbols): New static function. (print_symbol): New static function. PR 5332.
1995-07-12 * objdump.c (dump_section_stabs): Only print each stabs sectionIan Lance Taylor1-0/+7
once. (compare_relocs): Make it clear to gcc that this always returns a value.
1995-07-12Wed Jul 12 10:40:23 1995 H.J. Lu <hjl@nynexst.com>Ian Lance Taylor2-7/+52
* objcopy.c (simple_copy): Preserve errno on failure. (smart_rename): Print error mesage if simple_copy fails.
1995-07-10Remove C comment characters from modified FSF address in expect scripts.Ian Lance Taylor2-2/+2
1995-07-07fsf address update, but not in COPYING filesKen Raeburn10-34/+358
1995-07-04 * nm.c (size_forward): Check yf against yn, not xn.Ian Lance Taylor2-28/+242
PR 7276.
1995-07-04 * objcopy.c (copy_archive): Record all output BFD's, and closeIan Lance Taylor2-5/+15
them before unlinking them and removing the temporary directory, to avoid NFS problems. PR 6795.
1995-07-04Rename truncate to ar_truncateIan Lance Taylor2-12/+12
1995-07-04 * ar.c (replace_members): In verbose messages, use 'r' whenIan Lance Taylor4-21/+78
replacing a member, and 'a' when adding one. * ar.c (truncate): New static variable. (normalize): Change return type to const char *. Add abfd argument. Change all callers. If truncate, chop the filename to abfd->ar_max_namelen. (main): For the 'f' modifier, set truncate to true. Don't change quick_append to replace to truncate is true. (do_quick_append): If truncate, set BFD_TRADITIONAL_FORMAT. (write_archive): Likewise. * binutils.texi, ar.1: Document 'f' modifier. PR 6888.
1995-07-04 * objcopy.c (enum strip_action): Define strip_unneeded.Ian Lance Taylor5-73/+155
(OPTION_STRIP_UNNEEDED): Define. (strip_options): Add "strip-unneeded". (copy_options): Likewise. (copy_usage): Mention --strip-unneeded. (strip_usage): Likewise. (is_strip_section): Strip debugging sections if strip_unneeded. (filter_symbols): If strip_unneeded, only keep BSF_KEEP symbols. (copy_object): If strip_all, discard symbols without checking discard_locals. (copy_object): Call filter_symbols if strip_unneeded. (setup_section): Strip debugging sections if strip_unneeded. (copy_section): Likewise. (strip_main): Handle OPTION_STRIP_UNNEEDED. (copy_main): Likewise. * binutils.texi, objcopy.1, strip.1: Document --strip-unneeded. PR 6684.
1995-07-03Mon Jul 3 14:16:47 1995 Steve Chamberlain <sac@slash.cygnus.com>Steve Chamberlain2-6/+21
* configure.in (i386-*-win32): New configuration. * dlltool.c (killat, xlate, usage, long_options, main): Understand and cope with -k option.
1995-07-01 * ar.c: (extract_file): Change "#if POSIX_UTIME" toFred Fish2-1/+7
"#ifdef POSIX_UTIME" to match other tests of POSIX_UTIME and avoid lossage when POSIX_UTIME is not defined at all.
1995-06-29 * ar.c: (print_contents.c, extract_file, do_quick_append):Steve Chamberlain6-286/+687
Malloc buffers rather than allocate on stack (so it works on NT). * deflex.l: Names can have an @ in them. * dlltool.c: Loads of stuff. Can now generate .imp files which work with NT .dlls.
1995-06-23 * mpw-make.in (demangle.c.o): Remove.Stan Shebs1-17/+14
(arparse.h): Depend on arparse.c instead of arparse.y.
1995-06-21fix diststuff/realclean handling of info filesKen Raeburn1-0/+4
1995-06-21* objdump.c (compare_relocs): If relocation entries have the same address, ↵Ken Raeburn1-0/+5
keep them in file order.
1995-06-20 * dlltool.c: Change names of generated files. .*.s-> -*.sSteve Chamberlain2-16/+53
* objdump.c (dump_section_stabs): Check for names which are supersets of selected names. binutils/7240.
1995-06-14dlltool.c: Support for internal names too.Steve Chamberlain1-17/+9