H.J. Lu
d8180c76ad
2001-08-10 H.J. Lu <hjl@gnu.org>
...
* nm.c (print_value): Add one arg, bfd *.
(print_value): Replace fprintf_vma with bfd_fprintf_vma.
(print_symbol_info_bsd): Also pass `abfd' to print_value ().
(print_symbol_info_sysv): Likewise.
(print_symbol_info_posix): Likewise.
* objdump.c (dump_section_header): Replace printf_vma with
bfd_printf_vma.
(print_section_stabs): Likewise.
(dump_bfd_header): Likewise.
(objdump_print_value): Replace sprintf_vma with
bfd_sprintf_vma.
(disassemble_bytes): Likewise.
(dump_reloc_set): Likewise.
2001-08-10 16:43:18 +00:00
Andreas Jaeger
0218d1e4c2
* configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
...
to build warnings.
* configure: Regenerate.
2001-08-10 10:56:47 +00:00
Alan Modra
2863d58a18
* readelf.c: Add missing prototypes.
...
* objdump.c: Likewise. Format existing prototypes.
2001-08-09 14:46:50 +00:00
Alexandre Oliva
c0e047e0e5
* readelf.c (display_debug_info): Add to abbrev_offset the addend
...
of any RELA relocation for the abbrev_offset memory location that
refers to the .debug_abbrev section symbol.
2001-08-08 11:17:46 +00:00
H.J. Lu
ff78d6d660
2001-08-07 H.J. Lu <hjl@gnu.org>
...
* readelf.c (process_file): Return 0 if OK, otherwise return 1.
(main): Return process_file ().
2001-08-07 20:15:00 +00:00
Phil Blundell
c36774d6aa
2001-08-05 Philip Blundell <philb@gnu.org>
...
* doc/binutils.texi: Use "Thumb" not "THUMB".
2001-08-05 21:01:26 +00:00
John Healy
8f9d9bd9e9
2001-08-03 John Healy <jhealy@redhat.com>
...
Patch suggested by Frank Eigler <fche@redhat.com>.
* objdump.c (disassemble_data): Fill in section member of the
disasm_info structure.
2001-08-03 22:08:44 +00:00
DJ Delorie
c918cb968c
* configure.in: Added --with-windres option.
...
* configure: Regenerated.
2001-08-03 16:27:22 +00:00
Nick Clifton
c7c55b785d
Use @command{name} for commands. Use @option{-opt} for options.
...
Use @table @env for list of options. Remove spaces arround [ | ] in synopsis.
Use 'GNU Development Tools' for the center title.
2001-08-01 15:54:41 +00:00
Nick Clifton
594ef5dbd2
Implement new switch --rename-section
2001-07-31 13:49:39 +00:00
Nick Clifton
1f554c6920
Change bug-gnu-utils@gcc.org to the mor obvious bug-binutils@gcc.org
2001-07-30 10:57:07 +00:00
Alan Modra
2f83960e2c
* bucomm.c (list_supported_architectures): New function.
...
* bucomm.h (list_supported_architectures): Declare.
* objdump.c (usage): Call the above.
2001-07-29 05:31:43 +00:00
H.J. Lu
8bd8d2153f
2001-07-27 H.J. Lu <hjl@gnu.org>
...
* binutils-all/windres/windres.exp: Don't set xfail for
bmpalign (compare) on none-ix86/pe targets.
2001-07-27 16:16:07 +00:00
Dave Brolley
20fe064957
2001-07-25 Dave Brolley <brolley@redhat.com>
...
* objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
(SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2001-07-25 15:25:11 +00:00
H.J. Lu
25268c03b9
2001-07-24 H.J. Lu <hjl@gnu.org>
...
* binutils-all/windres/windres.exp: Set xfail on none-ix86/pe
targets.
2001-07-24 19:24:09 +00:00
Nick Clifton
1b577b00bd
Change bug reporting email address.
2001-07-19 10:43:13 +00:00
DJ Delorie
64e0872741
* config/default.exp (WINDRES): Add.
...
* binutils-all/windres/windres.exp: New.
* binutils-all/windres/README: New.
* binutils-all/windres/bmp1.bmp: New.
* binutils-all/windres/bmpalign.rc: New.
* binutils-all/windres/bmpalign.rsd: New.
* binutils-all/windres/lang.rc: New.
* binutils-all/windres/lang.rsd: New.
* binutils-all/windres/msupdate: New.
* binutils-all/windres/strtab1.rc: New.
* binutils-all/windres/strtab1.rsd: New.
2001-07-18 23:56:41 +00:00
DJ Delorie
5f16d8553b
* resres.c (write_res_header): Align header size.
...
(res_align_file): Calculate alignment correctly.
2001-07-17 03:14:49 +00:00
DJ Delorie
95fd336c5c
* rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
...
correct 10).
* resrc.c (write_rc_resource): Likewise.
* windres.h (SUBLANG_SHIFT): Define - as 10.
2001-07-17 01:19:19 +00:00
Nick Clifton
ed8fee27bc
Add Christian Groessler as maintainer for z8k port.
2001-07-15 10:30:30 +00:00
Nick Clifton
90ab7e9a68
Add notes about branch checkins
2001-07-11 09:06:49 +00:00
Nick Clifton
eed1d0acc7
And remove the seconf accidental patch commission.
2001-07-06 08:05:27 +00:00
Nick Clifton
ec5d57d5e8
Remove patch accidentally checked in with readelf.c patch
2001-07-06 08:01:17 +00:00
Ben Elliston
56070b8bdc
2001-07-05 Ben Elliston <bje@redhat.com>
...
* lib/utils-lib.exp (target_assemble): Remove duplicate copy.
(default_target_assemble): Likewise.
2001-07-05 11:00:28 +00:00
Nick Clifton
e0c60db230
Display the contents of a .debug.macinfo section
2001-07-05 07:49:05 +00:00
H.J. Lu
24e01a3675
2001-07-05 H.J. Lu <hjl@gnu.org>
...
* objcopy.c (filter_symbols): Don't turn undefined symbols
into local.
2001-07-05 07:27:16 +00:00
H.J. Lu
4258bf4db5
2001-07-03 H.J. Lu <hjl@gnu.org>
...
* doc/Makefile.am (addr2line.1): Use addr2line.pod instead of
$@.pod.
(ar.1): Likewise.
(dlltool.1): Likewise.
(nlmconv.1): Likewise.
(nm.1): Likewise.
(objcopy.1): Likewise.
(objdump.1): Likewise.
(ranlib.1): Likewise.
(readelf.1): Likewise.
(size.1): Likewise.
(strings.1): Likewise.
(strip.1): Likewise.
(windres.1): Likewise.
(cxxfilt.man): Use $(DEMANGLER_NAME).pod instead of $@.pod.
($(DEMANGLER_NAME).1): Also substitute cxxfilt with
$(DEMANGLER_NAME).
(as.1): Removed.
* doc/Makefile.in: Regenerated.
2001-07-03 16:35:34 +00:00
Nick Clifton
7014bc3115
Change MIPS maintainer to Erci Christopher
2001-07-03 15:08:42 +00:00
Nick Clifton
b811889fc5
Support DWARF 2.1 tags, encodings, languages.
2001-07-01 08:53:15 +00:00
Nick Clifton
12ab83a9ae
Add DWARF 2.1 attributes
2001-06-29 14:17:31 +00:00
Alan Modra
a6e9f9dfd0
* readelf.c (GET_DATA_ALLOC): Remove.
...
(GET_DATA): Remove.
(get_data): New function combining above macros, with an extra
test for zero size.
Use get_data, and catch error return throughout file.
2001-06-28 13:58:36 +00:00
Alan Modra
af3fc3bcb3
* readelf.c (dump_relocations): Print "bad symbol index" if
...
symtab == NULL with non-zero symtab_index.
(process_relocs): Don't bomb if reloc section has no symsec.
2001-06-25 03:30:26 +00:00
H.J. Lu
6d900bf62c
2001-06-24 H.J. Lu <hjl@gnu.org>
...
* objcopy.c (strip_main): Revert the change made on 2001-05-30
by accident.
(copy_main): Apply the the change made to strip_main on
2001-05-30 by accident.
2001-06-24 16:27:00 +00:00
Andreas Jaeger
49b4e38678
* unwind-ia64.c (unw_decode_x1): Add unused attribute for
...
parameter 'code'.
(unw_decode_x2): Likewise.
(unw_decode_x3): Likewise.
(unw_decode_x4): Likewise.
2001-06-23 16:06:51 +00:00
Ben Elliston
d8dc71e3b1
2001-06-23 Ben Elliston <bje@redhat.com>
...
* MAINTAINERS: Add myself as M88k maintainer.
2001-06-23 10:26:08 +00:00
Nick Clifton
af3bdff753
Add missing support for -o option.
2001-06-22 09:02:05 +00:00
Nick Clifton
89084430cd
Fix typos
2001-06-21 07:44:32 +00:00
H.J. Lu
105e7211d3
2001-06-19 H.J. Lu <hjl@gnu.org>
...
* doc/Makefile.in: Regenerated.
2001-06-19 18:16:52 +00:00
Nick Clifton
c45021f2d2
Remove auot generated man pages
2001-06-19 11:57:29 +00:00
Andreas Jaeger
f1e0121648
* binutils-all/readelf.r: Don't check for specific info value to
...
pass testsuite on ia64 and alpha.
2001-06-19 08:16:26 +00:00
Alan Modra
09ad7db352
* NEWS: Fix a typo. Mention hppa64-elf. Add binutils-2.11 marker.
2001-06-09 02:15:49 +00:00
H.J. Lu
d2d89a164a
Fix typos.
2001-06-07 16:48:18 +00:00
H.J. Lu
fbbd5fc35e
2001-06-07 H.J. Lu <hjl@gnu.org>
...
* readelf.ss-mips: Support stabs.
* binutils-all/readelf.ss-tmips: Likewise.
2001-06-07 16:46:38 +00:00
Alan Modra
936260fe3e
* MAINTAINERS: Update my email address.
2001-06-01 04:21:57 +00:00
Nick Clifton
16b2b71c0c
Add command line switches to objcopy to provide lists of symbols in files
2001-05-30 10:46:28 +00:00
Andreas Jaeger
7036c0e167
* readelf.c (display_debug_frames): Fix warnings: Remove unused
...
variables, fix format strings.
2001-05-28 15:41:34 +00:00
Alan Modra
5a109b6767
Fix some entries.
2001-05-28 10:37:50 +00:00
Nick Clifton
76a406e5b0
Remove section VMA adjustment when computing the address of the line to show.
2001-05-28 10:03:19 +00:00
H.J. Lu
eed3fa3bb3
2001-05-25 H.J. Lu <hjl@gnu.org>
...
* binutils-all/readelf.exp (readelf_test): Set target_machine
to tmips for traditional mips.
* binutils-all/readelf.s: Support traditional mips.
* binutils-all/readelf.ss-tmips: New for traditional mips.
2001-05-25 18:58:10 +00:00
Alan Modra
c709b09623
s/linuxaout/linux*aout/, s/linuxoldld/linux*oldld/
2001-05-25 07:21:01 +00:00
H.J. Lu
1608870fd8
2001-05-24 H.J. Lu <hjl@gnu.org>
...
* binutils-all/objdump.exp (cpus_expected): Add s390.
2001-05-24 22:01:25 +00:00
Alexandre Oliva
6be7c12c05
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
...
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.254. Rebuilt a number
of subdir/configure scripts to use the new libtool.m4.
2001-05-20 19:02:56 +00:00
Richard Henderson
31b6fca668
* readelf.c (do_debug_frames_interp): New.
...
(byte_get_little_endian): If BFD64, always read entire 8-byte fields.
(byte_get_big_endian): Likewise.
(parse_args) ['F']: Set do_debug_frames_interp.
(Frame_Chunk): Make data_factor signed, add fde_encoding.
(frame_display_row): Don't trunc pc_begin to int.
(size_of_encoded_value): New.
(display_debug_frames): Handle 64-bit targets. Print raw data
unless do_debug_frames_interp.
(debug_displays): Remove duplicate .debug_frame.
2001-05-16 16:20:26 +00:00
Nick Clifton
4fe8559101
Remove definition of EM_MIPS_RS4_BE. The constant was never in active use
...
and is used otherwise by the ABI.
2001-05-15 12:24:29 +00:00
Jakub Jelinek
579f31ac74
* elfxx-ia64.c (is_unwind_section_name): Consider linkonce unwind
...
sections as well.
(elfNN_ia64_final_write_processing): Map .gnu.linkonce.ia64unw.FOO
to .gnu.linkonce.t.FOO text section.
* readelf.c (process_unwind): Print all unwind sections, not just
one.
* config/tc-ia64.c (special_linkonce_name): New.
(make_unw_section): Map .gnu.linkonce.t.FOO text section into
.gnu.linkonce.ia64unw{,i}.FOO.
(ia64_elf_section_type): Handle .gnu.linkonce.ia64unw{,i}.FOO.
(dot_endp): Add comment about it.
* elf/ia64.h (ELF_STRING_ia64_unwind_once): Define.
(ELF_STRING_ia64_unwind_info_once): Define.
* emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put
.gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind*
output sections.
* emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
2001-05-11 12:36:47 +00:00
Alan Modra
78f4a3f728
* readelf.c (process_unwind): Remove const specifier.
2001-05-07 09:17:34 +00:00
Nick Clifton
1c529ca648
Support printable characters outside of the ASCII range
2001-04-27 15:42:21 +00:00
Nick Clifton
87e6d78217
Add openRISC support in opcodes
2001-04-27 13:34:20 +00:00
DJ Delorie
4bd3d87018
* dlltool.c (do_default_excludes): Initialise to true.
2001-04-17 23:28:38 +00:00
Alan Modra
21211521db
* MAINTAINERS: Update my email address
...
* nm.c (print_symbol_info_bsd): Use a simple printf string.
2001-04-11 07:07:29 +00:00
Hans-Peter Nilsson
0c66b61e31
Fix address in ChangeLog entry
2001-04-05 17:46:25 +00:00
Hans-Peter Nilsson
ff94ebf2c8
* readelf.c (display_debug_lines): Fix typo for "Prologue".
2001-04-05 17:44:15 +00:00
H.J. Lu
69e37bf6a2
2001-03-30 H.J. Lu <hjl@gnu.org>
...
* binutils-all/readelf.exp: Run on more ELF targets.
2001-03-31 06:37:39 +00:00
H.J. Lu
e58d53afc0
2001-03-30 H.J. Lu <hjl@gnu.org>
...
* readelf.c (process_unwind): Just return if do_unwind is 0.
2001-03-31 06:36:17 +00:00
DJ Delorie
bee723322c
* dlltool.c (make_one_lib_file): Fix section flags for
...
.text, .data and .bss in stub ds*.o files to match those
generated by gas.
2001-03-30 01:34:54 +00:00
H.J. Lu
f1467e3315
2001-03-29 H.J. Lu <hjl@gnu.org>
...
* readelf.c (process_unwind): Only do unwind sections for
IA64.
2001-03-30 01:26:43 +00:00
H.J. Lu
1c6fb4fe1f
2001-03-28 H.J. Lu <hjl@gnu.org>
...
* Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.
* Makefile.in: Regenerate.
2001-03-28 19:01:04 +00:00
Andreas Jaeger
0879a67a8f
2001-03-26 Andreas Jaeger <aj@suse.de>
...
* binutils.texi (nm): Fix texi syntax.
2001-03-26 Andreas Jaeger <aj@suse.de>
* ld.texinfo (Overview): Fix syntax in texi code.
2001-03-26 07:02:59 +00:00
Nick Clifton
0285c67df1
Automate generate on man pages
2001-03-25 20:32:31 +00:00
Christopher Faylor
04847a4d3e
* defparse.y (opt_equal_name): allow "." in name.
...
* dlltool.c (def_exports): Added ability to generate forwarded exports.
(gen_exp_file): Likewise.
2001-03-14 02:56:45 +00:00
Nick Clifton
8c2bc6877d
Fix typos in ChangeLogs and update copyright notices
2001-03-13 06:43:59 +00:00
Nick Clifton
43a0748c78
Add --binary-architecture switch to objcopy to allow the output architecture
...
to be set when the input file type is binary.
2001-03-13 00:08:35 +00:00
Nick Clifton
b7498e0ef0
Handle EM_S390_OLD.
2001-03-12 23:35:23 +00:00
Nick Clifton
a59e3bd746
Remove non-K&R compliant LHS type cast in call to GET_DATA_ALLOC macro.
2001-02-28 19:40:12 +00:00
Phil Blundell
a5bcd848ff
2001-02-28 Philip Blundell <pb@futuretv.com>
...
* readelf.c (decode_ARM_machine_flags): Explicitly mention which
ABI is in use; remove ambiguity between the "unknown" EABI and
unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
renamed EF_xx constants.
2001-02-28 10:15:57 +00:00
Alan Modra
27b7e12d2d
Bump version to 2.11.90, fix missing dependencies in bfd/,
...
and run "make dep-am".
2001-02-27 06:43:56 +00:00
Nick Clifton
e135f41bc2
Add PDP-11 support
2001-02-18 23:33:11 +00:00
Nick Clifton
a9f1078629
Add obvious fix rule
2001-02-14 18:49:56 +00:00
H.J. Lu
9a580d9af6
2001-02-11 H.J. Lu <hjl@gnu.org>
...
* config/default.exp: Set up gcc_gas_flag.
* binutils-all/objcopy.exp (copy_setup): Process gcc_gas_flag
for Linux only.
* binutils-all/testprog.c: Include <string.h> and don't use
exit ().
2001-02-12 00:21:59 +00:00
Michael Sokolov
3c44da9aef
* unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
...
literal concatenation.
2001-02-11 23:13:38 +00:00
Michael Sokolov
ecd0338944
* readelf.c (struct unw_aux_info): Remove const from the info member.
...
(process_unwind): Don't type-cast the third argument to the
GET_DATA_ALLOC macro.
2001-02-11 23:11:39 +00:00
Nick Clifton
88ec60c7e0
fix seg fault in reloc reading code
2001-02-11 22:14:01 +00:00
Nick Clifton
f5e2196691
Document new --unwind option to readelf.
2001-02-10 22:20:55 +00:00
Nick Clifton
a85d7ed0f0
Add s390 support
2001-02-10 00:58:38 +00:00
Alan Modra
7bb10502ed
Don't #ifdef inside printf in case printf is a macro.
2001-02-09 16:33:21 +00:00
Hans-Peter Nilsson
8ca8f343f9
* acinclude.m4 (AM_PROG_LEX): Override installed definition.
...
* aclocal.m4: Regenerate.
* configure: Regenerate.
2001-02-08 06:01:31 +00:00
Nick Clifton
7340082dc8
Change bfd_target_vector from an array to a pointer
2001-02-07 23:16:22 +00:00
Nick Clifton
4d6ed7c8ce
Add -u option toi readelf to display unwind info.
...
Add support to display unwind info for IA64 binaries.
2001-02-07 19:41:03 +00:00
Phil Blundell
c7217458cb
2001-02-04 Philip Blundell <philb@gnu.org>
...
* configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
* configure: Regenerate.
2001-02-04 16:37:03 +00:00
Alan Modra
956eedd4dc
Another HAVE_DOS_BASED_FILE_SYSTEM check.
2001-01-31 06:02:18 +00:00
Alan Modra
c7f2731ef2
Don't check for backslashes in file names
...
unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2001-01-24 04:36:05 +00:00
Alan Modra
8855cbcaee
* stabs.c: Update copyright. Include "filenames.h".
...
(parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2001-01-24 02:34:07 +00:00
Jakub Jelinek
329de80343
s/11/01/
2001-01-23 13:51:03 +00:00
Jakub Jelinek
00d93f3435
* readelf.c (process_version_sections): Check if VERDEF or VERNEED
...
sections are present before using them. Remove code duplication.
(process_symbol_table): Check if VERDEF or VERNEED sections are
present before using them.
2001-01-23 13:49:37 +00:00
Nick Clifton
18356cf280
oops - omitted from previous delta
2001-01-18 00:18:50 +00:00
Nick Clifton
23719f397d
Stop objcopy trying to convert endianness.
2001-01-18 00:17:43 +00:00
Nick Clifton
f726e84968
oops - fix typo
2001-01-16 23:23:23 +00:00
Nick Clifton
d40ac9bde2
Prevent seg fault with corrupt section name indicies
2001-01-16 23:22:44 +00:00
Nick Clifton
d1abceec08
Fix expected result from readellf -s with 64 bit binaries
2001-01-16 18:27:01 +00:00
Nick Clifton
d0398d6ac6
Update copyright date to 2001
2001-01-12 18:01:56 +00:00