aboutsummaryrefslogtreecommitdiff
path: root/binutils
AgeCommit message (Collapse)AuthorFilesLines
1995-11-01Wed Nov 1 15:09:57 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 ↵Ian Lance Taylor2-2/+13
<manfred@lts.sel.alcatel.de> * binutils-all/objcopy.exp: Add setup_xfails for m68*-motorola-sysv3* and m88*-motorola-sysv3*.
1995-11-01Wed Nov 1 15:04:57 1995 Manfred Hollstein KS/EF4A 60/1F/110 #40283 ↵Ian Lance Taylor2-1/+6
<manfred@lts.sel.alcatel.de> * Makefile.in (syslex.o): add -I$(srcdir) if compiling in a separate directory.
1995-10-30 * objdump.c (objdump_print_value): New static function.Ian Lance Taylor2-15/+76
(objdump_print_address): Use it. If we need the right section for the symbol, and we can't find it, print an offset from the section rather than using a symbol from some other section. PR 8251.
1995-10-28Thu Oct 26 10:23:14 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain2-198/+490
* dlltool.c (no_idata4, no_idata5): New. (arm_jtab): Use correct encoding of jump instruction. (usage, main, make_head, make_tail): Act on no_idata4, no_idata5.
1995-10-25 * mpw-make.sed: Edit paths to generated y.tab.[ch] files.Stan Shebs2-0/+8
1995-10-20 * binutils.texi: Change --with-targets to --enable-targets.Ian Lance Taylor2-1/+5
1995-10-20 * Makefile.in: Remove extraneous tab on otherwise empty line,Fred Fish2-2/+17
which confuses many non-GNU versions of "make".
1995-10-13Do not give error message if dlltool was not builtMichael Meissner1-5/+7
1995-10-13Fri Oct 13 11:04:37 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-0/+11
* deflex.l: Allow quoting of IDs. * defparse.y (%union): string deleted. (command): DESCRIPTION takes ID. * dlltool.c (gen_def_file): Quote outgoing name if necessary. Preserve NONAME. (gen_lib_file): Run ranlib. (workout_prefix): Deleted. (main, usage, long_options): Add --as, --ranlib, --ar options.
1995-10-11Wed Oct 11 13:36:13 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain2-58/+164
* dlltool.c (mtable): HOW_ALIGN_LONG, new. (d_ord): Deleted. (d_low_ord, d_high_ord, d_named_funcs): New. (gen_exp_file): Create noname entries correctly. (gen_lib_file): Dump exports alphabetically. (process_duplicates): Count nonamed functions. (fill_ordinals): Keep track of highest ord too. (mangle_defs): Create alphabetically ordered list of names.
1995-10-10Tue Oct 10 09:39:09 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain2-2/+6
* Makefile.in (TOOL_PROGS): Include DLLTOOL_PROG.
1995-10-09Mon Oct 9 13:06:31 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain2-186/+241
* dlltool.c (add_underscore): New. (xlate): Use new name. (main, usage): Update.
1995-10-06Mon Sep 25 22:49:32 1995 Andreas Schwab ↵Ken Raeburn7-24/+34
<schwab@issan.informatik.uni-dortmund.de> * nm.c (print_symname): Don't try to demangle an empty name. * objdump.c (slurp_symtab): Reset symcount if there are no symbols. (slurp_dynamic_symtab): Likewise, for dynsymcount. (disassemble_data): Fix memory leak: free sorted_syms when done. (display_bfd): Likewise, for syms and dynsyms. (dump_relocs): Don't print header before possibly generating an error message. (dump_dynamic_relocs): Likewise. * ar.1, nm.1, objdump.1, size.1, strings.1, strip.1: Fix typos and formatting bugs.
1995-10-06* sysinfo.y: Eliminate unused terminals "[" and "]" and unused nonterminalKen Raeburn1-0/+5
"name". One s/r conflict remains.
1995-10-06 * ar.c (do_quick_append): Comment out.Ian Lance Taylor1-0/+8
(replace_members): Add quick argument. (main): Don't call do_quick_append. (open_inarch): Don't call quick_append to create an empty archive. Instead call bfd_openw/bfd_set_format/bfd_close.
1995-10-06* bucomm.c: Always include time.h.Ken Raeburn1-0/+4
1995-10-05 * objdump.c (compare_symbols): Sort gnu_compiled and gcc2_compiledIan Lance Taylor2-30/+69
symbols after other symbols with the same value. Likewise for symbols which look like file names. (objdump_print_address): Always chose the first reasonable symbol with a given value. PR 8148.
1995-10-04 * arsup.c (ar_save): Use rename, not unlink/link/unlink.Ian Lance Taylor1-0/+4
1995-10-02 * binutils-all/ar.exp: New file.Ian Lance Taylor3-12/+30
* binutils-all/bintest.s: Make text_symbol and data_symbol global. Add new static symbols static_text_symbol and static_data_symbol. * binutils-all/nm.exp: Adjust accordingly. * config/default.exp (AR): Set if not set. (binutils_remove): New procedure. * lib/utils-lib.exp (default_binutils_run): Call prune_system_crud on program output. Use verbose -log instead of both verbose and send_log. (default_binutils_remove): New procedure.
1995-10-02 * lib/utils-lib.exp (default_binutils_assemble): CallIan Lance Taylor2-1/+39
prune_system_crud on assembler output.
1995-10-02 * strings.c (main): Exit with zero status if no files are givenIan Lance Taylor1-1/+16
and standard input is read.
1995-09-29Comings and goings of Mac-specific files.Stan Shebs1-1/+2
1995-09-29 * mpw-config.in: Calculate underscore and put into makefileStan Shebs4-554/+123
fragment, generate config.h. * mpw-make.sed: New file, sed commands to edit Unix makefile into MPW syntax. * mpw-make.in: Remove. * mac-binutils.r: New file, Mac resources.
1995-09-28 * dlltool.c: (gen_exp_file): Always emit a .reloc section if relocatable.Steve Chamberlain1-0/+8
(imp_name_lab): New. (gen_def_file): New. (gen_lib_file): Use imp_name_lab. (main): Initialize imp_name_lab.
1995-09-25 * configure.in: Call AC_HEADER_SYS_WAIT.Ian Lance Taylor3-13/+84
* configure: Rebuild. * config.in: Rebuild. * dlltool.c: Include "libiberty.h" and "bucomm.h". Don't include <stdio.h>, <stdlib.h>, or <string.h>. Don't include <wait.h>. Include <sys/types.h>. Use HAVE_SYS_WAIT_H to control whether to include <sys/wait.h> or define the wait macros by hand. Don't declare xmalloc. (gen_lib_file): Don't assume that sprintf returns the number of characters; use strlen instead.
1995-09-22 * objdump.c (disassemble_data): Don't use the old BFD basedIan Lance Taylor1-0/+5
disassembler interface. Make info a const pointer.
1995-09-13 * objdump.c (start_address): New variable.Ian Lance Taylor4-9/+122
(stop_address): New variable. (usage): Mention --start-address and --stop-address. (OPTION_START_ADDRESS, OPTION_STOP_ADDRESS): Define. (long_options): Add "start-address" and "stop-address". (disassemble_data): Handle start_address and stop_address. (dump_data, dump_reloc_set): Likewise. (main): Don't set seenflag for -l. Handle OPTION_START_ADDRESS and OPTION_STOP_ADDRESS. * objcopy.c (parse_vma): Move to bucomm.c. * bucomm.c (parse_vma): New function, moved in from objcopy.c. * bucomm.h (parse_vma): Declare. * binutils.texi, objdump.1: Document new objdump options. PR 7983.
1995-09-13Fix .drectve spelling (was .drective) in several comments.David Edelsohn1-47/+80
1995-09-13 * lib/utils-lib.exp (prune_system_crud): Define if not defined.Ian Lance Taylor2-1/+12
* binutils-all/objcopy.exp: Call prune_system_crud on cmp output.
1995-09-12 * Makefile.in (maintainer-clean): New target.Ian Lance Taylor2-1/+5
1995-09-12 * ar.c (replace_members): Don't call write_archive if nothingIan Lance Taylor1-0/+3
changed.
1995-09-12 * objdump.c (disassemble_data): Add casts to avoid gcc warnings.Ian Lance Taylor2-5/+9
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.