Richard Henderson
8c9a987975
* readelf.c (display_debug_frames): Don't crash for mismatched
...
DW_CFA_restore_state.
2004-03-22 03:55:50 +00:00
Alan Modra
6ece5c5268
* Makefile.am: Run "make dep-am".
...
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* po/binutils.pot: Regenerate.
2004-03-19 07:03:40 +00:00
Nathan Sidwell
6f10430691
* objdump.c (struct SFILE): Replace current pointer with pos
...
offset, rename size to alloc.
(objdump_sprintf): Avoid unnecessary copies in the common case
(disassemble_bytes): Keep sfile live throughout the
function. Adjust usage appropriately.
2004-03-15 12:31:41 +00:00
Ben Elliston
523f6a2717
* MAINTAINERS: Update my mail address.
2004-03-10 02:58:24 +00:00
Nick Clifton
7aa52b1f65
Honour the PRIVATE keyword
2004-03-08 11:50:36 +00:00
Andreas Schwab
af865222e0
* ar.c (main): Support POSIX-compatible argument parsing.
...
testsuite:
* binutils-all/ar.exp (argument_parsing): New test.
2004-02-27 11:04:36 +00:00
Nick Clifton
c7e7ca549d
(process_mips_specific): Print conflictsno as an unsigned long.
2004-02-23 08:45:05 +00:00
Christopher Faylor
eff21b8ec2
* dlltool.c (gen_exp_file): Always output names for forwarded symbols.
2004-02-21 21:28:22 +00:00
Jakub Jelinek
2f01ffbf77
gas/
...
* stabs.c (generate_asm_file): Avoid warning about use of
uninitialized variable.
binutils/
* objcopy.c (copy_section): Avoid warnings.
2004-02-19 17:15:28 +00:00
Andrew Cagney
c92c35e706
Use bfd_cache_close, instead of accessing bfd->iostream directly.
2004-02-15 02:24:53 +00:00
Roland McGrath
9d2410855d
.
2004-01-29 00:27:46 +00:00
Nick Clifton
d99e9f4d31
Update the copyright year
2004-01-20 13:08:47 +00:00
Maciej W. Rozycki
f8b7303064
* gettext.m4: Quote names of macros to be defined by AC_DEFUN
...
throughout.
* acinclude.m4: Quote names of macros to be defined by AC_DEFUN
throughout.
* aclocal.m4: Regenerate.
* configure: Regenerate.
2004-01-14 13:41:37 +00:00
Jakub Jelinek
f0312d395b
* objcopy.c: Include elf-bfd.h.
...
(is_strip_section): Don't strip debugging sections if
STRIP_NONDEBUG.
(setup_section): If STRIP_NONDEBUG make SEC_ALLOC sections
~(SEC_LOAD | SEC_HAS_CONTENTS) and on ELF targets also SHT_NOBITS.
* objcopy.c (copy_section): Free relpp if relcount == 0.
2004-01-13 15:41:00 +00:00
Ian Lance Taylor
041821e62e
* stabs.c (parse_stab_argtypes): Handle g++ ABI version 3 names.
...
(stab_demangle_argtypes): Likewise.
(stab_demangle_v3_argtypes): New static function.
(stab_demangle_v3_arg): New static function.
2004-01-12 21:04:04 +00:00
Nick Clifton
950d48e718
Do not produce any output if the output file will be empty
2004-01-12 13:10:02 +00:00
Nick Clifton
d9296b1825
Fix initialisation of debug_line_pointer_sizes array so that it is done as needed
2004-01-07 18:50:51 +00:00
Alan Modra
5e675b72e4
* objcopy.c (filter_bytes): Delete. Move code to..
...
(copy_section): ..here. Simplify size adjustment. Divide
section lma by interleave.
2004-01-02 22:54:47 +00:00
Nick Clifton
f0660b7388
Add Russian translation
2004-01-02 17:08:05 +00:00
Alan Modra
c9e214e571
Split ChangeLog files.
2004-01-02 11:16:21 +00:00
Daniel Jacobowitz
eb18fd2294
* MAINTAINERS: Rename CONFIGURE to BUILD SYSTEM and add myself.
2003-12-31 14:24:55 +00:00
Nick Clifton
0e0c409874
Update pointer_size patch
2003-12-29 14:22:07 +00:00
Maciej W. Rozycki
4087920c2b
* objcopy.c (bfd_flags_to_set, bfd_flags_to_clear): New variables
...
to handle flags for tweaking.
(copy_options): New options: impure, pure, readonly-text,
writable-text.
(copy_usage, copy_object, command_line_switch): Handle the new
options.
* doc/binutils.texi: Document the new options.
2003-12-23 13:01:11 +00:00
Jakub Jelinek
68b3b8dc9e
* objdump.c (disassemble_bytes): Subtract rel_offset from printed
...
reloc address.
(disassemble_section): Set rel_offset to section->vma instead of
pinfo->buffer_vma.
2003-12-22 10:49:59 +00:00
Nick Clifton
6edf0760c5
Add support for m32r-linux target, including a RELA ABI and PIC.
2003-12-19 11:44:01 +00:00
Nick Clifton
6ea3dd37ae
Add --only-keep-debug to the --help output.
2003-12-11 13:22:51 +00:00
Nick Clifton
f57a841aea
Do not copy the object if the output file's format cannot be set to that of
...
the input file. If the input file's format is unknown, fail.
2003-12-04 18:24:07 +00:00
Ian Lance Taylor
9663f234c1
* cxxfilt.c (usage): Mention new -p/--no-params options.
2003-11-29 04:03:22 +00:00
Alan Modra
75aa66180a
* Makefile.am (install-exec-local): Remove common term from string
...
comparison.
* Makefile.in: Regenerate.
* doc/Makefile.am: Don't use $<.
* doc/Makefile.in: Regenerate.
2003-11-28 04:58:41 +00:00
Nick Clifton
195f52b5ec
Ensure that we have write permission before overwriting a file.
2003-11-27 08:24:01 +00:00
Nick Clifton
9eb20dd876
Add a comment describing the difference between readelf and objdump.
2003-11-26 11:49:10 +00:00
Danny Smith
f93464114f
* doc/binutils.texi (dlltool): Document dlltool --temp-prefix
...
option.
* dlltool.c (usage): Likewise.
2003-11-25 19:50:04 +00:00
Ian Lance Taylor
4e48c9dd27
* cxxfilt.c (long_options): Add --no-params.
...
(main): Handle -p/--no-params.
* doc/binutils.texi (c++filt): Document -p/--no-params.
2003-11-23 01:10:45 +00:00
Alan Modra
3b9ad1cc1f
* objdump.c: Wrap long lines, init vars separately from decl.
...
(disassemble_section): Reset require_sec after call to
find_symbol_for_address.
2003-11-19 08:21:14 +00:00
Nick Clifton
22a398e190
Add new field to disassemble_info structure: symbol_is_valid() and use it to
...
skip displaying arm elf mapping symbols in disassembly output.
2003-11-14 15:12:44 +00:00
Nick Clifton
e99158355d
Emit a warning when an archive is created (only shown with -v) in order to
...
confrom to POSIX specification.
2003-11-13 16:01:52 +00:00
Nick Clifton
5fe11841a8
Add new feature to objcopy/strip. The -w switch allows wildcards to be used
...
in symbol names.
2003-11-11 17:50:26 +00:00
Alan Modra
0f6cb37fa4
* objdump.c: Revert rev 1.81 commit.
2003-11-11 01:57:04 +00:00
Nick Clifton
b2699c8b72
Remove "member" from verbose output of "-dv" in order to conform to POSIX
...
specification.
2003-11-10 17:28:33 +00:00
Alan Modra
36fd3cc348
Expand and consolidate bug reporting details.
2003-11-10 03:06:05 +00:00
Nick Clifton
f24ddbddc5
Use consistent error messages for missing files.
...
Detect directories where an ordinary file is expected.
2003-11-07 12:19:34 +00:00
Nick Clifton
1be5957932
Fix 'the the' typo
2003-11-06 11:58:58 +00:00
Nick Clifton
e69f2d2194
Do not dump the contents of SHT_NOBITS sections - they have no file space
...
assigned to their contents.
2003-10-30 14:24:02 +00:00
Alan Modra
9376f0c73d
* readelf.c (dump_section): Don't display DEL characters.
2003-10-27 14:06:45 +00:00
Kazu Hirata
50c2245bd8
* ChangeLog: Fix typos.
...
* ChangeLog-9197: Likewise.
* ChangeLog-9899: Likewise.
* NEWS: Likewise.
* ar.c: Fix comment typos.
* arsup.c: Likewise.
* coffgrok.c: Likewise.
* debug.c: Likewise.
* debug.h: Likewise.
* dlltool.c: Likewise.
* ieee.c: Likewise.
* nm.c: Likewise.
* objdump.c: Likewise.
* prdbg.c: Likewise.
* readelf.c: Likewise.
* resrc.c: Likewise.
* sysinfo.y: Likewise.
* windres.c: Likewise.
2003-10-27 13:20:32 +00:00
Nick Clifton
ed570f48a0
Do not complain when copying a file format that does not support relocations.
2003-10-27 12:45:38 +00:00
Nick Clifton
b749473bc4
Set the machine number as well as the architecture when converting from a
...
binary file to another file type.
2003-10-21 14:08:12 +00:00
Andrew Cagney
198beae2cf
2003-10-19 Andrew Cagney <cagney@redhat.com>
...
* targets.c: Replace "struct sec" with "struct bfd_section"
* syms.c, sparclynx.c, section.c, opncls.c: Ditto.
* libcoff-in.h, libbfd-in.h, elfxx-target.h: Ditto.
* elf.c, coffgen.c, bfd.c, bfd-in.h, aoutf1.h: Ditto.
* aout-tic30.c, aout-target.h:
* bfd-in2.h, libcoff.h, libbfd.h: Regenerate.
Index: binutils/ChangeLog
2003-10-19 Andrew Cagney <cagney@redhat.com>
* coffgrok.h (coff_section): Replace 'struct sec" with "struct
bfd_section".
Index: gdb/ChangeLog
2003-10-19 Andrew Cagney <cagney@redhat.com>
* symtab.c: Replace "struct sec" with "struct bfd_section".
* objfiles.c, linespec.c, blockframe.c, block.c: Ditto.
Index: ld/ChangeLog
2003-10-19 Andrew Cagney <cagney@redhat.com>
* pe-dll.c: Replace "struct sec" with "struct bfd_section".
Index: sim/common/ChangeLog
2003-10-19 Andrew Cagney <cagney@redhat.com>
* sim-base.h: Replace "struct sec" with "struct bfd_section".
2003-10-20 14:38:46 +00:00
Nathan Sidwell
29ca8dc5bb
bfd/Changelog:
...
* libbfd-in.h (_bfd_link_section_stabs): Add string offset
parameter.
* cofflink.c (coff_link_add_symbols): Deal with split stab
sections.
* elflink.h (elf_link_add_object_symbols): Deal with split stab
sections.
* stabs.c (_bfd_link_section_stabs): Add string offset parameter.
* libbfd.h: Regenerated.
ld/ChangeLog:
* ldwrite.c (unsplittable_name): New.
(clone_section): Strip existing numeric suffix. Only truncate names
for coff targets.
(split_sections): Use unsplittable_name.
binutils/ChangeLog:
* objdump.c (read_section_stabs): Just read one section, return
pointer to it. Add size parameter.
(print_section_stabs): Add string offset parameter. Adjust.
(struct stab_section_names): Add string offset member.
(find_stabs_sections): Correct check for split section suffix,
adjust read_section_stabs and print_section_stabs calls.
(dump_stabs_section): Clear string_offset, free string table.
2003-10-07 08:53:42 +00:00
Christopher Faylor
b95f6b0c7e
* resrc.c (define_icon): Fix storage of color attributes 'planes' and 'bit
...
count' in icon groups.
2003-10-02 14:13:10 +00:00