DJ Delorie
8948065dc4
Fix capitalization
2000-09-05 15:47:41 +00:00
David O'Brien
468390eb77
2000-09-04 Todd Vierling <tv@wasabisystems.com>
...
* strip.1: Fix stray '\' in -o formatting.
Approved by: Philip Blundell <pb@tazenda.demon.co.uk>
Message-Id: <E13W4RF-0002HU-00@kings-cross.london.uk.eu.org>
2000-09-05 08:26:53 +00:00
Nick Clifton
205b2e5054
Fix date ordering of entries
2000-09-03 18:30:51 +00:00
Nick Clifton
18e03609ef
Increase minor version number (to 2.10.91) to help tools detect the new
...
ability to support removal of duplciate DWARF@ debug information.
2000-09-02 21:35:47 +00:00
Alexandre Oliva
ac48eca1ad
* acinclude.m4: Include libtool and gettext macros from the
...
top level.
* aclocal.m4, configure: Rebuilt.
2000-08-31 09:46:11 +00:00
DJ Delorie
6a84a0f95e
* resrc.c (close_input_stream): delete extraneous logic
2000-08-30 23:06:03 +00:00
Hans-Peter Nilsson
5bcac8a48e
* NEWS: Mention support for CRIS.
2000-08-24 17:42:52 +00:00
Nick Clifton
c8c5888ebc
Changed email address of Ulrich Lauther
2000-08-21 20:30:04 +00:00
H.J. Lu
2ac374c471
2000-08-17 Christopher C. Chimelis <chris@debian.org>
...
* objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
2000-08-18 01:58:12 +00:00
Nick Clifton
3f215a1093
Catch and warn about attempts to display debug information for version 1 aranges.
2000-08-17 23:00:38 +00:00
Nick Clifton
db4f683116
Silently accept -d as an alias for -g for compatability with old BSD systems.
2000-08-14 19:47:01 +00:00
Jason Eckhardt
22b36938e7
2000-08-14 Jason Eckhardt <jle@cygnus.com>
...
* NEWS: Mention i860 support.
2000-08-14 18:50:13 +00:00
H.J. Lu
4047915b1b
2000-08-11 Carlo Wood <carlo@alinoe.com>
...
* addr2line.c (main): Add const to char *.
2000-08-12 00:47:48 +00:00
Geoffrey Keating
8d72000704
* ar.c (main): Don't crash if called with no arguments
...
or only '-X32_64' as an argument.
2000-08-11 18:26:28 +00:00
Jason Eckhardt
535c37ffa8
2000-08-05 Jason Eckhardt <jle@cygnus.com>
...
* readelf.c (elf/i860.h): Include.
(dump_relocations): Add recognition of i860 architecture.
(guess_is_rela): Add recognition of i860 architecture.
2000-08-08 00:47:04 +00:00
Nick Clifton
dac850af10
Add info about CGEN maintainers
2000-08-03 17:37:01 +00:00
DJ Delorie
2efaf10b6d
* resrc.c: use "gcc -xc" instead of -xc-header
2000-08-02 00:20:30 +00:00
Geoffrey Keating
6e8008398d
* nm.c (main): Ignore '-X32_64' as an option.
...
* ar.c (main): Likewise.
* binutils.texi (nm): Document new option.
(ar): Likewise.
2000-07-27 01:39:45 +00:00
Alan Modra
5bbe3a506e
(external_coff_symbol_p): K&R-ise.
2000-07-23 08:19:25 +00:00
H.J. Lu
e107c42f07
2000-07-20 H.J. Lu <hjl@gnu.org>
...
* binutils/binutils.texi: Put back "@end table" deleted by
accident.
2000-07-21 00:09:48 +00:00
Nick Clifton
28c309a287
Add optional style argument to --demangle switch.
2000-07-20 18:02:56 +00:00
Hans-Peter Nilsson
1b61cf9230
* MAINTAINERS: Add self as CRIS port maintainer.
...
* readelf.c: Include elf/cris.h.
(guess_is_rela): Handle EM_CRIS.
(dump_relocations): Ditto.
(get_machine_name): Ditto.
* Makefile.am: Rebuild dependencies.
* Makefile.in: Regenerate.
* po/binutils.pot: Regenerate.
2000-07-20 17:28:56 +00:00
H.J. Lu
019148e439
2000-07-19 H.J. Lu <hjl@gnu.org>
...
* readelf.c (get_dynamic_type): Change "AUXILARY" to
"AUXILIARY".
(process_dynamic_segment): Print out strings for DT_CONFIG,
DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.
2000-07-20 02:45:36 +00:00
Nick Clifton
b56f55ce04
Change output of `nm --help' to include a description of the purpose of the
...
program and a detailed description of the accepted options.
2000-07-20 00:39:10 +00:00
H.J. Lu
f7db6139df
2000-07-19 H.J. Lu <hjl@gnu.org>
...
* readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
to DF_1_NODEFLIB.
2000-07-19 18:45:46 +00:00
H.J. Lu
05107a46ed
2000-07-19 H.J. Lu <hjl@gnu.org>
...
* readelf.c (get_dynamic_type): Fix DT_CHECKSUM.
2000-07-19 18:24:32 +00:00
H.J. Lu
dcefbbbda0
2000-07-19 H.J. Lu <hjl@gnu.org>
...
* readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
DT_FEATURE.
(process_dynamic_segment): Likewise.
* readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
(process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
DF_1_NODUMP and DF_1_CONLFAT.
2000-07-19 18:03:18 +00:00
Nick Clifton
6dbb55b600
Fix spelling typo.
2000-07-18 18:24:21 +00:00
Mark Kettenis
86d65c94b2
* objdump.c (usage): Make output of `objdump --help' more
...
consistent with the rest of the GNU world. Add a line describing
the purpose of the program.
2000-07-12 19:52:17 +00:00
Alan Modra
3c9f43b196
Warning fixes.
2000-07-10 14:51:04 +00:00
Nick Clifton
3316ae25d3
Add several more port specific maintainers
2000-07-09 15:23:00 +00:00
Nick Clifton
68dcecab73
Add Mike Meissner
2000-07-05 20:11:22 +00:00
DJ Delorie
302ab118e1
add MAINTAINERS files
2000-07-05 19:28:06 +00:00
DJ Delorie
7f143ac13d
* dllwrap.c: Changed mistaken dyn_string_append() calls
...
to dyn_string_append_cstr().
2000-07-02 01:56:58 +00:00
Alan Modra
944e5c61c8
AAganichev's parse_stab_type size fix.
2000-07-01 10:00:05 +00:00
Alan Modra
0bdaf48bac
Fix 2000-06-22. grep after running dep.sed
2000-07-01 01:41:09 +00:00
Alan Modra
a0c0ddf7e8
Revert incorrect 2000-06-25 patch.
2000-06-26 23:15:58 +00:00
Nick Clifton
590a2450f1
Fix spelling typo
2000-06-25 17:58:54 +00:00
Nick Clifton
05c58a7cfb
Treat GNU weak symbols as external.
2000-06-25 16:39:45 +00:00
Nick Clifton
307ff1df12
Advance past both parts of dos based <letter>: filepath prefix.
2000-06-25 16:30:27 +00:00
Nick Clifton
d1cdf50144
Fix description of --stabs switch
2000-06-24 19:53:12 +00:00
Alan Modra
6d5be9157e
Check dependecies for leading `/' in this dir too.
2000-06-22 13:14:21 +00:00
Alan Modra
2ab47eed68
Correct pointer comparisons relying on NULL less than any other pointer.
...
Alexander Aganichev's fix for ieee.c
2000-06-20 12:33:21 +00:00
Nick Clifton
58781cd0ba
Improve verbose message
2000-06-19 01:09:55 +00:00
H.J. Lu
0724d64b8d
2000-06-15 H.J. Lu <hjl@gnu.org>
...
* dyn-string.c: Removed. Not needed with dyn-string.c in
libiberty.
* dyn-string.h: Likewise.
* Makefile.am: Remove references to dyn-string.c and
dyn-string.h. Rebuild dependency.
* Makefile.in: Rebuild.
2000-06-16 00:46:22 +00:00
H.J. Lu
ccd13d1887
2000-06-15 H.J. Lu <hjl@gnu.org>
...
* binutils.texi: Put a warning on copying relocatable object
files between two different formats.
2000-06-15 19:34:44 +00:00
DJ Delorie
2104a50e3e
* rcparse.y (control): ICON controls take an id as the first
...
parameter, not an optional string. Also, call new convenience
function that takes res_id's.
* resrc.c (define_control): missing text means zero-length string,
not zero ID.
(define_icon_control): New.
* windres.h: declare define_icon_control.
2000-06-13 21:21:43 +00:00
H.J. Lu
bcef29e60c
2000-06-13 H.J. Lu <hjl@gnu.org>
...
* configure: Regenerate.
2000-06-13 19:11:54 +00:00
David O'Brien
946efd95b8
* configure.in (VERSION): Update to show this is the CVS mainline.
...
Approved by: Nick Clifton <nickc@cygnus.com>
Message-Id: <200005222205.PAA14565@elmo.cygnus.com>
2000-06-08 19:00:02 +00:00
David O'Brien
6b3bf56090
* strings.c (isgraphic): Interpret <TAB> as a printable character,
...
analogous to <SPACE>.
Approved by: Nick Clifton <nickc@cygnus.com>
<200005222243.PAA14590@elmo.cygnus.com>
2000-06-02 18:55:04 +00:00
Alan Modra
fb101eadc0
Fix my inept 2000-05-24 change.
2000-05-30 07:47:56 +00:00
DJ Delorie
3b35ec75cb
* resrc.c (close_input_stream): zero out cpp_pipe after closing it.
2000-05-26 18:46:47 +00:00
Alan Modra
2114f57b93
Update dependencies.
2000-05-26 14:14:21 +00:00
Alan Modra
5af11cab92
Eli Zaretskii's DOSish file name patches.
2000-05-26 13:11:57 +00:00
Alan Modra
f190c5c4e9
Ensure bfd_close after bfd_openw so we don't get multiple bfd_openw
...
calls for same file.
2000-05-25 02:05:08 +00:00
H.J. Lu
d812147943
2000-05-14 H.J. Lu (hjl@gnu.org)
...
* objcopy.c (filter_symbols): Don't strip global symbols in
relocatable object files.
2000-05-14 17:13:16 +00:00
Alan Modra
e3a6961244
Accept and ignore -f command line option.
...
Improve usage message.
2000-05-14 10:40:48 +00:00
Alan Modra
897083bdcd
Quell some gcc warnings by defining textdomain and bindtextdomain
...
as intl/libgettext.h does.
2000-05-13 13:05:36 +00:00
H.J. Lu
5ee1baa27d
2000-05-12 H.J. Lu <hjl@gnu.org>
...
* nlmconv.c (temp_filename): Removed.
* nlmconv.c (link_inputs): Use make_temp_file () instead of
choose_temp_base ().
* objdump.c (display_target_list): Likewise.
(display_info_table): Likewise.
2000-05-13 06:38:34 +00:00
Alan Modra
1a89cc7d7e
(setup_section): Add const and gettext calls for err.
2000-05-08 04:28:06 +00:00
H.J. Lu
146243a7e0
2000-05-02 H.J. Lu <hjl@gnu.org>
...
* readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
and ELFOSABI_OPENBSD.
2000-05-02 17:54:32 +00:00
Alan Modra
0f371bb497
fix gcc warnings
2000-05-02 02:29:17 +00:00
Denis Chertykov
dff1420082
* readelf.c (guess_is_rela): AVR uses RELA relocations.
...
(get_machine_name): machine name for EM_AVR added.
2000-05-01 06:53:41 +00:00
Jim Wilson
800eeca487
IA-64 ELF support.
2000-04-21 20:22:24 +00:00
Timothy Wall
ea58412531
Fix bug disassmbling binary files for non-octet byte targets.
2000-04-18 17:16:59 +00:00
Alan Modra
12ff5d5690
Portability fixes.
2000-04-14 04:14:25 +00:00
Nick Clifton
50da7a9c68
Replace 'strftime' with 'sprintf'.
2000-04-10 17:13:07 +00:00
Andrew Cagney
a2d91340f3
Remove ``-W -Wall'' from top-level Makefile/configure.
...
Add ``-W -Wall'' to sub-directories bfd, binutils, gas gprof, ld and
opcodes by the addition of WARN_CFLAGS to Makefile.am and configury to
set it. Add configure option --enable-build-warnings.
Re-generate all and sundry using auto*-000227.
2000-04-09 12:17:43 +00:00
Alan Modra
37cc8ec1be
A mostly cosmetic tidy up of warnings and error message reporting.
2000-04-07 04:34:50 +00:00
Timothy Wall
34cbe64ecf
SEC_BLOCK, SEC_CLINK, and C_STATLAB added (TI COFF support).
2000-04-07 00:58:07 +00:00
Jason Merrill
eb6bd4d38e
* readelf.c (decode_location_expression): Loop through multiple
...
operations.
(read_and_display_attr): Pass in length.
2000-04-07 00:16:45 +00:00
Jason Merrill
1fa3730664
* readelf.c (read_and_display_attr): Add CU offset to references.
...
(display_debug_info): Pass it in.
2000-04-07 00:15:00 +00:00
Nick Clifton
5f8a9d91e7
Detect EM_AVR machine number
2000-04-06 23:21:50 +00:00
Nick Clifton
f3485b74bb
Add code to decode the e_flags field of an ARM ELF binary.
2000-04-06 23:21:09 +00:00
Alan Modra
57938635f5
Add --redefine-sym to objcopy.
2000-04-05 03:43:56 +00:00
H.J. Lu
dd27201edf
2000-04-04 H.J. Lu <hjl@gnu.org>
...
* readelf.c (process_symbol_table): Correctly read in symbol
versioning information.
2000-04-04 23:05:32 +00:00
Alan Modra
8ad3436c79
Move translated part of bug report string back into .c files so
...
xgettext can find it. Regnerate .pot files.
2000-04-04 14:32:35 +00:00
Alan Modra
41b49281c1
Use "gcc -MM" for dependencies, and update them.
2000-04-04 10:53:56 +00:00
H.J. Lu
a9273d78af
2000-04-03 H.J. Lu (hjl@gnu.org)
...
* size.c (usage): Use REPORT_BUGS_TO.
2000-04-03 17:17:36 +00:00
Alan Modra
c20f4f8c21
Move bug report string to one place.
2000-04-03 14:10:05 +00:00
Alan Modra
00ed88bd56
Include sys/types.h before sys/stat.h for ultrix.
2000-03-30 23:37:22 +00:00
Nick Clifton
3b7aaf81e1
catch out of range string offset in corrupt stab entry
2000-03-28 01:11:27 +00:00
Alan Modra
adde6300e0
ATMEL AVR microcontroller support.
2000-03-27 08:39:14 +00:00
Phil Blundell
fd5ccd4792
2000-03-09 Tim Waugh <twaugh@redhat.com>
...
* strings.1: Correct '-bytes' to '--bytes'.
2000-03-25 19:52:38 +00:00
H.J. Lu
9c28aef393
2000-03-08 H.J. Lu <hjl@gnu.org>
...
* Makefile.am (install-exec-local): Depend on
install-binPROGRAMS for parallel make.
* Makefile.in: Regenerated.
2000-03-09 03:13:21 +00:00
Ian Lance Taylor
e699b9ff01
From Brad Lucier <lucier@math.purdue.edu>:
...
* readelf.c (process_dynamic_segment): Add cast to make sure
argument to %* is int.
2000-02-28 03:31:50 +00:00
H.J. Lu
07735828dd
2000-02-25 H.J. Lu <hjl@gnu.org>
...
* configure.in (AC_SEARCH_LIBS): Pass m, not -lm.
2000-02-26 00:59:51 +00:00
H.J. Lu
2f79b725dd
2000-02-25 H.J. Lu <hjl@gnu.org>
...
* configure.in (AC_SEARCH_LIBS): Pass lm, not -lm.
2000-02-26 00:47:52 +00:00
Nick Clifton
8a0e0f38af
Add support for WinCE targeted toolchains.
2000-02-24 19:37:32 +00:00
Alan Modra
1ce6cb432f
Teach get_osabi_name about Linux
2000-02-23 23:19:46 +00:00
Nick Clifton
ca47b30c87
Remove use of ELF_ST_OTHER.
2000-02-22 19:56:41 +00:00
Ian Lance Taylor
1606220769
From Brad Lucier <lucier@math.purdue.edu>:
...
* readelf.c (process_version_sections): Add casts to make sure
argument to %* is an int.
(process_mips_specific): Add casts to make printf arguments match
format.
2000-02-22 07:18:10 +00:00
Alan Modra
f6af82bd44
This lot mainly cleans up `comparison between signed and unsigned' gcc
...
warnings. One usused var, and a macro parenthesis fix too. Also check
input sections are elf when doing gc in elflink.h.
2000-02-21 12:01:27 +00:00
Frank Ch. Eigler
278d4456c4
* build fix
...
2000-02-18 Frank Ch. Eigler <fche@redhat.com>
* resrc.c: Remove unmatched #if for cygwin.
2000-02-19 03:59:10 +00:00
Fernando Nasser
0fff8110b5
2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com>
...
* binutils.texi: Document the change of flavor name from atpcs-special
to special-atpcs to prevent name conflict in gdb.
2000-02-14 19:05:55 +00:00
Timothy Wall
f15632584b
Fix bug in interlisting option, added --file-start-context option.
2000-02-08 18:38:13 +00:00
Timothy Wall
940b2b788c
octets vs bytes changes for binutils
2000-02-03 18:12:55 +00:00
Andreas Schwab
5cae921ebd
Fix date.
2000-01-28 12:38:22 +00:00
Nick Clifton
fad6fcbb00
Apply patch from Thomas de Lellis to allow nm to distinguish between weak
...
function symbols and weak data symbols.
2000-01-28 01:06:37 +00:00
Nick Clifton
58efb6c0fd
Add ATPCS support to ARM disassembler.
...
Document ARM disassembler options.
2000-01-27 22:17:12 +00:00
Nick Clifton
94470b237b
Add support for documenting target specific disassembler options
2000-01-27 21:44:26 +00:00
Alan Modra
305c72062b
Most of these changes are really only cosmetic. The readelf.c patch
...
fixes a thinko in get_dynamic_flags. I found at least one message
string that included a `%' being passed to printf in the format
argument.
2000-01-26 23:11:48 +00:00
Nick Clifton
67a95c88f3
Detect ELFOSABI_ARM.
2000-01-17 18:09:34 +00:00
Alan Modra
3dceb55b37
Correct function return types for new and fussy gcc.
2000-01-14 23:10:21 +00:00
Nick Clifton
a7c8f90ec1
Fix description of EM_S370.
2000-01-13 20:13:35 +00:00
Nick Clifton
2d0e6f43d3
Fix mistakes made about interpretation of ELF ABI spec
2000-01-11 17:53:33 +00:00
Nick Clifton
7bea2f730c
Add NT_WIN32PSTATUS to list of recognised core notes
2000-01-10 18:52:23 +00:00
Nick Clifton
5a298d2d9c
Apply Mumit Khan's patch to allow temporary file for process interconnection
2000-01-07 22:33:48 +00:00
Nick Clifton
087f88b230
Apply Mumit Khan's patch to remove 32 postfix from cygwin and mingw
2000-01-05 00:03:36 +00:00
Nick Clifton
5f0f29c341
Apply Mumit Khan's patch to implement --compat-implib command line switch
2000-01-04 23:59:42 +00:00
Nick Clifton
8f915f68a6
document --disassembler-options=force-thumb
2000-01-03 20:49:47 +00:00
Nick Clifton
d113390691
Add decoding of new constants defined in Oct 4, 1999 draft of ELF ABI spec.
1999-12-28 20:23:39 +00:00
Ian Lance Taylor
221f77a9db
* strings.c (main): Correct handling of numeric argument.
1999-12-26 18:49:30 +00:00
Andrew Haley
893addd8f4
1999-12-23 Andrew Haley <aph@cygnus.com>
...
* dlltool.c (mtable): mcore how_jtab_roff is 4 bytes into the
jtab; was 8.
1999-12-23 18:41:13 +00:00
Nick Clifton
5ea695edcd
Fix compile time warnings
1999-12-17 18:38:37 +00:00
Nick Clifton
2f5288870a
Fix support for native 64bit ELF systems
1999-12-10 18:32:57 +00:00
Nick Clifton
a2186dfed7
Pass -mpacs-26 by default to arm assembler.
...
Add arm-epoc target support.
Do no mangle null page entries.
1999-12-09 17:42:25 +00:00
Nick Clifton
5e220199b9
Fix compile time warnings & asupport more than 999 symbols
1999-12-07 21:26:51 +00:00
Nick Clifton
f7a999632f
Fix displaying 64bit ELF files.
1999-12-07 21:14:08 +00:00
Nick Clifton
6d118b099c
Applied Fred Fish's patch to fix decoding of core notes.
1999-11-25 11:08:25 +00:00
Nick Clifton
d5bcb29dda
Overhaul --help output.
1999-11-22 09:42:42 +00:00
Nick Clifton
1dada9c5d3
Overhaul --help output
1999-11-21 11:37:21 +00:00
Nick Clifton
7e301c9cbd
Chnage the default endianness for mcore to little
1999-11-03 18:16:52 +00:00
Nick Clifton
f932f8e1da
clip shorts to prevent assembler warnings
1999-11-03 10:56:31 +00:00
Ian Lance Taylor
d24de309df
1999-10-27 Fred Fish <fnf@cygnus.com>
...
* objdump.c (display_bfd): Break into two functions. The
actual dumping code moves to dump_bfd. If bfd is not
unambiguously recognized as a bfd_object, attempt to dump
it as a bfd_core.
(dump_bfd): New function.
1999-10-28 03:30:13 +00:00
Nick Clifton
96925346de
Remove spurious test of exp_name
1999-10-26 10:10:51 +00:00
Nick Clifton
49c245078a
Add default assembler switchhes on a per machine basis.
...
Use machine target type when opening output bfd files.
1999-10-22 15:50:28 +00:00
Ian Lance Taylor
b059661ec6
* ar.c (normalize): Fix full_pathname code.
1999-10-15 16:50:47 +00:00
Ian Lance Taylor
f20a759a4d
1999-10-08 Ben Elliston <bje@cygnus.com>
...
* binutils.texi: Some rewording and clarifications.
1999-10-08 13:56:33 +00:00
Ulrich Drepper
103f02d372
1999-09-15 Ulrich Drepper <drepper@cygnus.com>
...
* readelf.c (dynamic_segment_parisc_val): Print 0 for DLD_FLAGS if
the value is zero.
(process_symbol_table): Don't print histogram if hash table is empty.
1999-09-15 Ulrich Drepper <drepper@cygnus.com>
* readelf.c (get_parisc_dynamic_type): Handle DT_HP_GST_* values.
1999-09-02 Ulrich Drepper <drepper@cygnus.com>
* readelf.c (get_symbol_type): Add support for HPUX and PARISC
specific symbol types.
* readelf.c: Add HPUX and PARISC extensions to dynamic and program
header table printing.
* readelf.c (get_machine_flags): Add handling of PARISC.
1999-10-04 18:59:13 +00:00
DJ Delorie
ce195b4280
* dlltool.c (scan_drectve_symbols): Handle type tags in exported
...
symbols.
(scan_filtered_symbols): Likewise.
1999-09-28 20:08:37 +00:00
Ian Lance Taylor
34ca6cf879
* resrc.c (write_rc_rcdata): Fix local variable shadowing
...
problem. If RCDATA_BUFFER data can be read as strings, modify
code to print the strings as comments.
* resres.c: Add casts to avoid warnings.
(write_res_data, read_res_data): Don't put the program name in the
error message; fatal already puts it there.
1999-09-19 23:59:35 +00:00
Michael Meissner
6d83c84bcf
Fix problem with going to automake 2.14
1999-09-14 23:29:35 +00:00
Ian Lance Taylor
a20a10a650
* ar.c (main): Clear output_file if we don't change the archive.
...
(delete_members, replace_members): Likewise.
1999-09-12 19:00:11 +00:00
Ian Lance Taylor
8bea4d5c6c
1999-09-12 Donn Terry <donn@interix.com>
...
* objdump.c (dump_headers): If wide_output, print Flags header.
1999-09-12 18:49:47 +00:00
Ian Lance Taylor
deecf979f6
1999-09-12 Donn Terry <donn@interix.com>
...
* objdump.c (dump_section_header): Print any comdat information.
1999-09-12 18:39:32 +00:00
Ian Lance Taylor
3994e2c66d
1999-09-12 Donn Terry <donn@interix.com>
...
* objcopy.c (parse_flags): Handle "noload", "debug", and "share".
* binutils.texi, objcopy.1: Document new flags.
1999-09-12 18:33:05 +00:00
Ian Lance Taylor
3de3906459
1999-09-12 Donn Terry <donn@interix.com>
...
* ar.c (counted_name_mode): New static variable.
(counted_name_counter): New static variable.
(map_over_members): Handle counted mode.
(usage): Mention N modifier.
(main): Handle N modifier.
(delete_members): Handle counted mode.
* binutils.texi, ar.1: Document N modifier.
1999-09-12 18:14:07 +00:00
Ian Lance Taylor
946d15cab8
1999-09-12 Donn Terry <donn@interix.com>
...
* ar.c (print_contents): Change printing of member name for
POSIX.2 conformance.
1999-09-12 17:47:19 +00:00
Ian Lance Taylor
c8446de592
1999-09-12 Donn Terry <donn@interix.com>
...
* ar.c (output_filename): Make const.
(open_inarch): If creating a new empty archive, set
output_filename.
1999-09-12 17:43:21 +00:00
Ian Lance Taylor
fe84ea5db2
* ar.c (full_pathname): New static variable.
...
(map_over_members): Call normalize on command line parameter.
(usage): Mention P modifier.
(normalize): If full_pathname is true, don't do anything.
(main): Accept P modifier.
* binutils.texi, ar.1: Document P modifier.
1999-09-12 17:34:19 +00:00
Andreas Schwab
ad0481cd94
* binutils.texi: Add info dir entries for all programs described
...
here. Fix arguments of @var to not contain punctuation.
1999-09-09 16:01:34 +00:00
Ian Lance Taylor
1865dcb816
1999-09-06 Donn Terry <donn@interix.com>
...
* nm.c (print_symbol_info_bsd): Check for 'w' as well as 'U'.
(print_symbol_info_sysv): Likewise.
(print_symbol_info_posix): Likewise.
1999-09-06 18:47:31 +00:00
Ian Lance Taylor
7d46606982
1999-09-04 Steve Chamberlain <sac@pobox.com>
...
* readelf.c: Include "elf/pj.h".
(dump_relocations): Handle EM_PJ.
(get_machine_name): Likewise.
(get_machine_flags): Likewise.
1999-09-04 17:40:18 +00:00
Nick Clifton
21461bfd9b
fix typo.
1999-09-01 16:18:50 +00:00
Nick Clifton
0ac3848055
ooops - omitted from previous delta
1999-08-31 16:57:37 +00:00
Nick Clifton
779fe53312
Apply patch from Scott Bambrough to display the contents of a NOTES segment
...
in a core file.
1999-08-31 16:54:56 +00:00
Ian Lance Taylor
757acbc593
* binutils.texi (Bug Reporting): Clarify that large files should
...
not be sent to bug-gnu-utils.
1999-08-31 15:34:29 +00:00
Nick Clifton
3590ea008d
Applied patch from Stephane Carrez <stcarrez@worldnet.fr> to fix pointer size assumption.
1999-08-28 08:13:43 +00:00
Nick Clifton
7a4b7442d4
Patch from Jim Wilson - more bug fixes for line table decoding.
1999-08-27 10:34:58 +00:00
Nick Clifton
2366453a56
(display_debug_lines, case DW_LNS_const_add_pc): Multiply adv by info.li_min_insn_length.
1999-08-27 08:45:02 +00:00
Richard Henderson
9a09773023
* readelf.c (get_sparc64_dynamic_type): New function.
...
(get_dynamic_type): Use it.
1999-08-26 18:25:20 +00:00
Nick Clifton
75d74c4827
(display_debug_lines, case default): Change second line setting adv to use = not +=
1999-08-26 10:53:40 +00:00
Nick Clifton
aff05906d2
extend comment.
1999-08-19 13:11:30 +00:00
Nick Clifton
6e7d820549
only emit -mthumb-interowrk directive if really necessary.
1999-08-18 14:52:59 +00:00
Nick Clifton
a3f779dbea
Hans-Peter Nilsson <hp@bitrange.com>
...
* readelf.c (process_abbrev_section): Handle standard-conforming
single zero at the end of the section.
1999-08-09 17:16:23 +00:00
Ian Lance Taylor
75cd796a72
* objdump.c (exit_status): New static variable.
...
(nonfatal): New static function.
(disassemble_data): Set exit_status on error.
(read_section_stabs): Likewise.
(display_bfd): Likewise. Call nonfatal rather than bfd_nonfatal.
(display_file): Call nonfatal rather than bfd_nonfatal.
(display_target_list, display_info_table): Likewise.
(main): Return exit_status rather than 0.
1999-08-09 05:23:29 +00:00
Ian Lance Taylor
24c411edf7
* objdump.c (dump_section_header): Update for renaming of
...
SEC_SHORT to SEC_SMALL_DATA. Print SEC_SHARED flag.
1999-08-09 03:23:37 +00:00
Ian Lance Taylor
9d51cc66fb
From Eli Zaretskii <eliz@gnu.org>:
...
* binutils.texi: Document cxxfilt as MS-DOS name for c++filt.
1999-08-08 18:18:11 +00:00
Ian Lance Taylor
8a9659466d
* configure.in: Define and substitute DEMANGLER_NAME.
...
* Makefile.am (DEMANGLER_PROG): Set to cxxfilt.
(man_MANS): Use DEMANGLER_NAME rather than DEMANGLER_PROG.
(bin_PROGRAMS): Remove $(DEMANGLER_PROG).
(noinst_PROGRAMS): Add $(DEMANGLER_PROG).
(cxxfilt_SOURCES): Rename from c__filt_SOURCES.
(cxxfilt_LDADD): Rename from c__filt_LDADD.
($(DEMANGLER_NAME).1): Rename from $(DEMANGLER_PROG).1. Use
DEMANGLER_NAME rather than DEMANGLER_PROG in substitution.
(MOSTLYCLEANFILES): Use DEMANGLER_NAME rather than
DEMANGLER_PROG.
(install-exec-local): When installing noinst_PROGRAMS, change
cxxfilt to $(DEMANGLER_NAME).
* configure, Makefile.in: Rebuild.
1999-08-08 18:09:48 +00:00
Ian Lance Taylor
c278c1507b
* Makefile.am: Rename .dep* files to DEP*. Change DEP variable to
...
MKDEP.
* Makefile.in: Rebuild.
1999-08-08 17:34:16 +00:00
Ian Lance Taylor
7a7b06ef3d
1999-08-05 Donn Terry <donn@interix.com>
...
* Makefile.am (YACC): If bison is not in the source tree, use
@YACC@ rather than bison -y.
(LEX): If flex is not in the source tree, use @LEX@ rather than
flex.
* configure.in: Build dlltool for i[3-6]86-*-interix.
* Makefile.in, configure: Rebuild.
1999-08-05 15:35:10 +00:00
Ian Lance Taylor
980e4bf7fe
From Mark Elbrecht:
...
* configure.bat: Remove; obsolete.
1999-07-22 01:07:15 +00:00
Richard Henderson
d07faca298
Jakub Jelinek <jj@ultra.linux.cz>
...
* readelf.c (get_machine_flags): Print EF_SPARC_SUN_US3.
1999-07-16 21:38:16 +00:00
Ian Lance Taylor
2844ed430f
* configure.in: Bump version number to 2.9.5.
...
* configure: Rebuild.
1999-07-15 12:09:55 +00:00
Richard Henderson
c235b8f824
* objdump.c (dump_section_header): Print SEC_SHORT.
1999-07-14 17:24:46 +00:00
Ian Lance Taylor
b4c96d0d37
* Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
...
as appropriate. Add variable initializations. Add casts.
* objdump.c (disassemble_bytes): Change j to bfd_vma.
* readelf.c (process_syminfo): Change i to unsigned int.
(display_debug_info): Change abbrev_number to unsigned long.
(process_mips_specific): Change fcnt to size_t.
1999-07-11 20:02:30 +00:00
Nick Clifton
a952a37550
Only decode 64bit ELF files if the host compiler supports a 64bit data type.
1999-07-09 03:14:15 +00:00
Richard Henderson
351b4b401b
Jakub Jelinek <jj@ultra.linux.cz>
...
* readelf.c (guess_is_rela): Sparcv9 and v8plus use rela.
(dump_relocations): Use ELF64_R_TYPE_ID for Sparc, for R_SPARC_OLO10
print the secondary addend.
(get_machine_flags): Print Sparc machine flags.
(get_symbol_type): Print STT_REGISTER.
1999-07-08 15:49:41 +00:00
Ian Lance Taylor
c602a1658f
* stabs.c (parse_stab_type): Fix handling of template names with
...
template parameters containing `::'.
(stab_demangle_type): Handle a qualified name in a pointer to
member.
1999-07-08 00:49:04 +00:00
Ian Lance Taylor
83d765b3ed
* Makefile.am (dlltool_SOURCES): Add dyn-string.c.
...
* Makefile.in: Rebuild.
1999-06-22 22:58:06 +00:00
Ian Lance Taylor
2481e6a24f
1999-06-23 Mumit Khan <khan@xraylith.wisc.edu>
...
* configure.in (HAVE_EXECUTABLE_SUFFIX): Define.
* dlltool.c (look_for_prog): Use HAVE_EXECUTABLE_SUFFIX.
* dllwrap.c (look_for_prog): Likewise.
* resrc.c (look_for_default): Likewise.
* configure, config.in: Rebuild.
1999-06-22 22:50:22 +00:00
Ian Lance Taylor
bb0cb4db08
Based on patches from Mumit Khan <khan@xraylith.wisc.EDU>:
...
* configure.in: Define EXECUTABLE_SUFFIX.
* dlltool.c: Include "dyn-string.h". Include <stdarg.h> based on
ANSI_PROTOTYPES, not __STDC__.
(outfile): Remove.
(gen_exp_file): Change uses of outfile to use alloca.
(make_one_lib_file, make_head, make_tail): Likewise.
(gen_lib_file): Likewise.
(look_for_prog): New static function.
(deduce_name): Rewrite to use look_for_prog.
(mcore_elf_gen_out_file): Use dyn_string_t rather than outfile.
* dllwrap.c: Don't include <stdio.h>, <errno.h>, <string.h>,
<stdlib.h>, or <unistd.h>. Include <sys/stat.h> and either
<stdarg.h> or <varargs.h>.
(driver_name): Initialize to NULL, not "gcc".
(dlltool_name): Initialize to NULL, not "dlltool".
(display, inform, look_for_prog, deduce_name): New static
functions.
(usage): Mention -mno-cygwin.
(OPTION_MNO_CYGWIN): Define.
(main): Handle -mno-cygwin. Deduce driver_name and dlltool_name.
* resrc.c (look_for_default): Make static. Remove unused local
path. Check using EXECUTABLE_SUFFIX.
(read_rc_file): Allocate enough space to hold EXECUTABLE_SUFFIX.
* Makefile.am: Rebuild dependencies.
(dllwrap_LDADD): Add $(INTLLIBS).
* configure, Makefile.in, config.in: Rebuild.
1999-06-22 20:39:46 +00:00
Jeff Law
6202000d60
m
...
* readelf.c (dump_relocations): Use elf_hppa_reloc_type instead of
elf32_hppa_reloc_type.
1999-06-21 15:55:47 +00:00
Nick Clifton
74479bd3b9
Link object files with the .exp file, not the .lib file
1999-06-21 03:25:35 +00:00
DJ Delorie
aab3279588
* deflex.l: Accept single-character symbol names.
1999-06-18 19:44:21 +00:00
Nick Clifton
df75f1af9c
Detect symbols typed as thumb functions.
1999-06-16 10:03:59 +00:00
Nick Clifton
dd92f63977
Add -M command line switch to objdump - text of switch is passed on to disassembler
...
Add support for register name set selection ot ARM disassembler.
1999-06-16 02:24:36 +00:00
Andreas Schwab
c89746f691
Fix typos.
1999-06-14 01:30:19 +00:00
Ian Lance Taylor
e07bf1ac47
* objdump.c (disassemble_bytes): If the disassembler returns an
...
error, print out anything it may have printed to the buffer. From
H.J. Lu <hjl@gnu.org>.
1999-06-13 19:02:25 +00:00
Ian Lance Taylor
d7ec8102d9
* defparse.y (explist): Remove separate expline to eliminate
...
shift/reduce conflict.
From Kai-Uwe Rommel <rommel@ars.de>:
* defparse.y: Add tokens NONSHARED, SINGLE, MULTIPLE,
INITINSTANCE, INITGLOBAL, TERMINSTANCE, and TERMGLOBAL.
(command): Add option_list after LIBRARY.
(attr): Accept and ignore NONSHARED, SINGLE, and MULTIPLE.
(option_list, option): New nonterminals.
* deflex.l: Recognize NONSHARED, SINGLE, MULTIPLE, INITINSTANCE,
INITGLOBAL, TERMINSTANCE, and TERMGLOBAL.
1999-06-13 10:16:43 +00:00
Ian Lance Taylor
d84feeaca5
* ar.c (O_BINARY): Define as 0 if not defined.
...
(ranlib_touch): Open file with O_BINARY.
1999-06-12 16:07:57 +00:00
Ian Lance Taylor
18226413df
* rename.c (O_BINARY): Define as 0 if not defined.
...
(simple_copy): Open files with O_BINARY.
1999-06-12 16:04:07 +00:00
Ian Lance Taylor
f91ea84976
Based on patch from H. Peter Anvin <hpa@transmeta.com>:
...
* objcopy.c (struct section_list): Add copy field.
(sections_copied): New static variable.
(copy_options): Add "only-section".
(copy_usage): Mention -j and --only-section.
(find_section_list): Initialize copy field.
(is_strip_section): Check for copying sections.
(copy_object): Check sections_copied when calling filter_symbols.
(setup_section): Check for copying sections.
(copy_section): Likewise.
(copy_main): Handle -j/--only-section.
* binutils.texi, objcopy.1: Document -j/--only-section.
1999-06-12 15:42:04 +00:00
Ian Lance Taylor
f353eb8a51
* configure.in: If frexp is not available, check in -lm.
...
* configure: Rebuild.
1999-06-12 15:20:21 +00:00
Ian Lance Taylor
789be9f7ca
* readelf.c (get_elf_class): Use correct printf format for type.
...
(get_data_encoding): Likewise.
(get_osabi_name): Likewise.
(process_file_header): Don't pass an extra argument to printf.
(process_dynamic_segment): Cast dynamic_size to long before
printing.
(decode_location_expression): Cast byte_get to long before
printing.
1999-06-12 13:30:24 +00:00
Andreas Schwab
148d3c43be
* readelf.c (dump_section): Cast bfd_vma values to [unsigned] long
...
for printing, in case it is wider than long.
(display_block): Likewise.
(read_and_display_attr): Likewise.
(decode_location_expression): Likewise. Don't depend on
evaluation order.
1999-06-09 02:44:17 +00:00
Andreas Schwab
32a5c94a56
* windres.c (usage): Fix typo.
1999-06-07 03:16:55 +00:00
Nick Clifton
1993627733
Use 64bit wide values in internal fields.
...
Check symbol index against number of symbols when displaying relocations
1999-06-04 11:33:32 +00:00
Nick Clifton
9ea033b2df
Add support for 64 bit ELF files.
1999-06-04 08:13:04 +00:00
Nick Clifton
762100ed56
Use macros to hold names of temporary files.
1999-06-03 13:22:45 +00:00
Richard Henderson
d8bcc1ac10
* dlltool.c (gen_exp_file): Revert 19990411 change.
1999-06-02 12:37:48 +00:00
Andreas Schwab
aa903cfb1b
* readelf.c (process_relocs): Determine type of reloc from
...
DT_PLTREL and from section type.
1999-05-31 00:58:59 +00:00
Nick Clifton
ab5e779453
Display unknown values detected in ELF program header.
1999-05-29 10:51:14 +00:00
Nick Clifton
ccf04c82c7
fix typo.
1999-05-29 09:09:39 +00:00
Nick Clifton
9c19a80986
Better coping with different reloc types.
1999-05-28 10:14:11 +00:00
Ian Lance Taylor
63fcb9e946
* readelf.c: Include "elf/i960.h".
...
(dump_relocations): Handle EM_960.
1999-05-27 22:04:40 +00:00
Andreas Schwab
8066d1a283
* objcopy.c (copy_archive): Preserve dates of archive members if
...
requested.
1999-05-27 03:16:15 +00:00
Andreas Schwab
1b228002a1
* readelf.c (dump_relocations): Always print the addend on RELA
...
systems even if there is no symbol.
(process_program_headers): Reset dynamic_size before looping
through the program headers.
(process_version_sections): Cast sh_offset to unsigned long for
printing in case bfd_vma is wider.
(process_symbol_table): Use get_symbol_index_type when printing
st_shndx.
1999-05-27 03:02:23 +00:00
DJ Delorie
751d21b5b9
* windres.c: add verbose option
...
(main): process verbose option
* resrc.c (look_for_default): new. Look for the default
preprocessor in a given location.
(read_rc_file): for foo/bar-windres, look for foo/bar-gcc,
foo/gcc (in case of foo/windres), and then gcc (the old default).
1999-05-25 12:10:27 +00:00
Nick Clifton
49e315b1a1
Add support for generating an mcore-elf dll.
1999-05-16 14:12:20 +00:00
Nick Clifton
661016bb24
Add support for mcore to dlltool.
1999-05-15 15:25:22 +00:00
DJ Delorie
1a62478879
* rclex.l: add code to suppress certain output from cpp, replace
...
all returns with MAYBE_RETURN
(MAYBE_RETURN): new, implement the suppression by returning
IGNORED_TOKEN as needed.
(cpp_line): remember which file we're in, mark data from included
*.h files for suppression.
* rcparse.y (input): allow IGNORED_TOKEN outside of known constructs
1999-05-12 22:03:10 +00:00
DJ Delorie
09cda596de
1999-05-10 DJ Delorie <dj@cygnus.com>
...
* windres.c (quot): Quote shell metacharacters in a string
(main): quote parameters to cpp that might have metacharacters in
them. Allow -D as an alias for --define to allow for sharing make
macros with gcc.
* objdump.c (dump_reloc_set): don't core if howto->name is NULL
* Makefile.am: Give rescoff.c a cpu-specific -D so it can set
the correct BFD.
* Makefile.in: ditto
* rescoff.c (write_coff_file): Set the correct BFD
1999-05-11 21:06:16 +00:00
Ian Lance Taylor
82716b788e
* rename.c (smart_rename): Fix test of whether file exists.
1999-05-06 11:03:33 +00:00
Nick Clifton
a8a9050d4a
Set display_endian based on target endianism.
1999-05-06 07:41:56 +00:00
Catherine Moore
b890a73569
* dlltool.c (interwork): Remove.
...
(arm_interwork_jtab): Use bx insn.
(thumb_jtab): Likewise.
(MARM_INTERWORK): New machine type.
(rvaafter): Handle it.
(rvabefore) Likewise.
(asm_prefix): Likewise.
(gen_exp_type): Check machine type instead of
interwork flag.
(make_one_lib_file): Likewise.
(make_head): Likewise.
(make_tail): Likewise.
(usage): Update machine types.
(main): Remove -interwork support.
1999-05-05 19:02:14 +00:00
Catherine Moore
33c63f9db4
* readelf.c (get_machine_flags): Check for EF_CPU32.
...
(get_data_encoding): Fix typo.
1999-05-05 11:00:55 +00:00
Richard Henderson
252b5132c7
19990502 sourceware import
1999-05-03 07:29:11 +00:00