Roland McGrath
9d2410855d
.
23 years ago
Roland McGrath
0de14b54fa
2004-01-21 Roland McGrath <roland@redhat.com>
* readelf.c (get_note_type): Match NT_AUXV.
23 years ago
Nick Clifton
d99e9f4d31
Update the copyright year
23 years ago
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.
23 years ago
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.
23 years ago
Ian Lance Taylor
12d08d706b
Update copyright year.
23 years ago
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.
23 years ago
Nick Clifton
5b8c74e64f
Fix typo in comment in previous delta
23 years ago
Nick Clifton
950d48e718
Do not produce any output if the output file will be empty
23 years ago
Nick Clifton
d9296b1825
Fix initialisation of debug_line_pointer_sizes array so that it is done as needed
23 years ago
Alan Modra
5e675b72e4
* objcopy.c (filter_bytes): Delete. Move code to..
(copy_section): ..here. Simplify size adjustment. Divide
section lma by interleave.
23 years ago
Nick Clifton
f0660b7388
Add Russian translation
23 years ago
Alan Modra
c9e214e571
Split ChangeLog files.
23 years ago
Daniel Jacobowitz
eb18fd2294
* MAINTAINERS: Rename CONFIGURE to BUILD SYSTEM and add myself.
23 years ago
Nick Clifton
0e0c409874
Update pointer_size patch
23 years ago
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.
23 years ago
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.
23 years ago
Nick Clifton
6edf0760c5
Add support for m32r-linux target, including a RELA ABI and PIC.
23 years ago
Nick Clifton
6ea3dd37ae
Add --only-keep-debug to the --help output.
23 years ago
Kazu Hirata
b76033d904
Fia x comment typo.
23 years ago
Kazu Hirata
aaad4cf36a
* ChangeLog-9197: Fix comment typos.
* coffgrok.c: Likewise.
* filemode.c: Likewise.
* objcopy.c: Likewise.
* objdump.c: Likewise.
* prdbg.c: Likewise.
* stabs.c: Likewise.
* unwind-ia64.c: Likewise.
23 years ago
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.
23 years ago
Nick Clifton
a46a5b5851
Add "msp" to list of expected architectures.
23 years ago
Ian Lance Taylor
9663f234c1
* cxxfilt.c (usage): Mention new -p/--no-params options.
23 years ago
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.
23 years ago
Nick Clifton
195f52b5ec
Ensure that we have write permission before overwriting a file.
23 years ago
Nick Clifton
9eb20dd876
Add a comment describing the difference between readelf and objdump.
23 years ago
Danny Smith
f93464114f
* doc/binutils.texi (dlltool): Document dlltool --temp-prefix
option.
* dlltool.c (usage): Likewise.
23 years ago
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.
23 years ago
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.
23 years ago
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.
23 years ago
Nick Clifton
e99158355d
Emit a warning when an archive is created (only shown with -v) in order to
confrom to POSIX specification.
23 years ago
Nick Clifton
5fe11841a8
Add new feature to objcopy/strip. The -w switch allows wildcards to be used
in symbol names.
23 years ago
Alan Modra
0f6cb37fa4
* objdump.c: Revert rev 1.81 commit.
23 years ago
Nick Clifton
b2699c8b72
Remove "member" from verbose output of "-dv" in order to conform to POSIX
specification.
23 years ago
Alan Modra
36fd3cc348
Expand and consolidate bug reporting details.
23 years ago
Nick Clifton
f24ddbddc5
Use consistent error messages for missing files.
Detect directories where an ordinary file is expected.
23 years ago
Nick Clifton
1be5957932
Fix 'the the' typo
23 years ago
Nick Clifton
e69f2d2194
Do not dump the contents of SHT_NOBITS sections - they have no file space
assigned to their contents.
23 years ago
Alan Modra
9376f0c73d
* readelf.c (dump_section): Don't display DEL characters.
23 years ago
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.
23 years ago
Nick Clifton
ed570f48a0
Do not complain when copying a file format that does not support relocations.
23 years ago
Nick Clifton
b749473bc4
Set the machine number as well as the architecture when converting from a
binary file to another file type.
23 years ago
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".
23 years ago
Dave Brolley
7c3f9ad027
2003-10-06 Dave Brolley <brolley@redhat.com>
* binutils-all/objdump.exp (cpu_expected): Add fr550.
23 years ago
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.
23 years ago
Christopher Faylor
b95f6b0c7e
* resrc.c (define_icon): Fix storage of color attributes 'planes' and 'bit
count' in icon groups.
23 years ago
Chris Demetriou
43c58ae626
[ binutils/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* NEWS: Add an indication of the cutoff for 2.14.
[ gas/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* NEWS: Add an indication of the cutoff for 2.14.
[ ld/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* NEWS: Add an indication of the cutoff for 2.14.
23 years ago
Chris Demetriou
5f74bc130d
[ bfd/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* archures.c (bfd_mach_mipsisa64r2): New define.
* bfd-in2.h: Regenerate.
* aoutx.h (NAME(aout,machine_type)): Handle bfd_mach_mipsisa64r2.
* cpu-mips.c (I_mipsisa64r2): New enum value.
(arch_info_struct): Add entry for I_mipsisa64r2.
* elfxx-mips.c (_bfd_elf_mips_mach)
(_bfd_mips_elf_print_private_bfd_data): Handle E_MIPS_ARCH_64R2.
(mips_set_isa_flags): Add bfd_mach_mipsisa64r2 case.
(mips_mach_extensions): Add entry for bfd_mach_mipsisa64r2.
[ binutils/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* readelf.c (get_machine_flags): Handle E_MIPS_ARCH_64R2.
[ gas/Changelog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* configure.in (mipsisa64r2, mipsisa64r2el, mipsisa64r2*): New CPUs.
* configure: Regenerate.
* config/tc-mips.c (imm2_expr): New variable.
(md_assemble, mips16_ip): Initialize imm2_expr.
(ISA_HAS_64BIT_REGS, ISA_HAS_DROR, ISA_HAS_ROR): Add ISA_MIPS64R2.
(macro_build): Handle +A, +B, +C, +E, +F, +G, and +H format operands.
(macro): Handle M_DEXT and M_DINS.
(validate_mips_insn): Handle +E, +F, +G, +H, and +I format operands.
(mips_ip): Likewise.
(OPTION_MIPS64R2): New define.
(md_longopts): New entry for -mips64r2 (OPTION_MIPS64R2).
OPTION_ASE_BASE): Increase to compensate for OPTION_MIPS64R2.
(md_parse_option): Handle OPTION_MIPS64R2.
(s_mipsset): Handle setting "mips64r2" ISA.
(mips_cpu_info_table): Add mips64r2.
(md_show_usage): Document -mips64r2 option.
* doc/as.texinfo: Docuemnt -mips64r2 option.
* doc/c-mips.texi: Likewise.
[ gas/testsuite/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* gas/mips/cp0-names-mips64r2.d: New file.
* gas/mips/cp0sel-names-mips64r2.d: New file.
* gas/mips/elf_arch_mips64r2.d: New file.
* gas/mips/hwr-names-mips64r2.d: New file.
* gas/mips/mips32r2-ill-fp64.l: New file.
* gas/mips/mips32r2-ill-fp64.s: New file.
* gas/mips/mips64r2-ill.l: New file.
* gas/mips/mips64r2-ill.s: New file.
* gas/mips/mips64r2.d: New file.
* gas/mips/mips64r2.s: New file.
* gas/mips/mips.exp: Define "mips64r2" arch, and run new tests.
[ include/elf/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* mips.h (E_MIPS_ARCH_64R2): New define.
[ include/opcode/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* mips.h: Document +E, +F, +G, +H, and +I operand types.
Update documentation of I, +B and +C operand types.
(INSN_ISA64R2, ISA_MIPS64R2, CPU_MIPS64R2): New defines.
(M_DEXT, M_DINS): New enum values.
[ ld/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* ldmain.c (get_emulation): Ignore "-mips64r2".
[ ld/testsuite/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* ld-mips-elf/mips-elf-flags.exp: Add tests for combinations
with MIPS64r2.
[ opcodes/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* mips-dis.c (mips_arch_choices): Add entry for "mips64r2"
(print_insn_args): Add handing for +E, +F, +G, and +H.
* mips-opc.c (I65): New define for MIPS64r2.
(mips_builtin_opcodes): Add "dext", "dextm", "dextu", "dins",
"dinsm", "dinsu", "drotl", "drotr", "drotr32", "drotrv", "dsbh",
and "dshd" for MIPS64r2. Adjust "dror", "dror32", and "drorv" to
be supported on MIPS64r2.
23 years ago
H.J. Lu
9ce701e24f
2003-09-29 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (dump_relocations): Support SHN_IA_64_ANSI_COMMON.
(get_symbol_index_type): Likewise.
testsuites/
2003-09-29 H.J. Lu <hongjiu.lu@intel.com>
* binutils-all/readelf.exp: Use is_elf_format.
* binutils-all/readelf.h: Support IA64/ILP32.
* binutils-all/readelf.s: Likewise.
* binutils-all/readelf.ss: Likewise.
* lib/utils-lib.exp (proc is_elf_format): Copy from ld
testsuite. Add ia64-*-hpux*.
23 years ago