Jakub Jelinek
c256ffe730
* readelf.c (cmalloc, xcmalloc, xcrealloc): New functions.
...
(get_data): Add nmemb argument. Return NULL if nmemb * size
overflows. If var == NULL, allocate one extra byte and
clear it.
(slurp_rela_relocs, slurp_rel_relocs, get_32bit_program_headers,
get_64bit_program_headers, get_program_headers,
get_32bit_section_headers, get_64bit_section_headers,
get_32bit_elf_symbols, get_64bit_elf_symbols, process_section_headers,
process_section_groups, process_relocs, slurp_ia64_unwind_table,
ia64_process_unwind, slurp_hppa_unwind_table, hppa_process_unwind,
get_32bit_dynamic_section, get_64bit_dynamic_section,
process_dynamic_section, process_version_sections, get_dynamic_data,
process_symbol_table, dump_section, load_debug_str, load_debug_loc,
load_debug_range, read_and_display_attr_value, process_debug_info,
get_debug_info, frame_need_space, display_debug_frames,
display_debug_section, process_mips_specific, process_gnu_liblist,
process_corefile_note_segment): Adjust get_data callers. Use
cmalloc, xcmalloc and xcrealloc instead of {m,xm,xre}alloc where
passed size is a product of 2 numbers.
* readelf.c (print_mode): Fix comment typo.
(slurp_rela_relocs, slurp_rel_relocs): Fix memory leaks.
(dump_relocations): Fix a thinko in check for invalid st_name.
(process_program_headers): Don't crash if string_table is NULL.
(process_section_headers): Don't crash if e_shstrndx is invalid.
Ensure string_table_length is 0 if string_table == NULL.
Don't return just because string_table is NULL.
(process_section_groups): Don't crash if symtab's sh_link or
symbol's st_name is invalid. Fix a memory leak. Fix check for
invalid section number entry.
(process_relocs): Don't crash if relocation or symbol section's
sh_link is invalid.
(slurp_ia64_unwind_table, slurp_hppa_unwind_table): Don't crash if
relocation section's sh_info is invalid.
(ia64_process_unwind, hppa_process_unwind): Don't crash if symbol
table's sh_link is invalid.
(process_version_sections): Don't crash on version or symbol
section's sh_link is invalid. Don't crash if symbol's st_shndx
is invalid.
(process_symbol_table): Don't crash if string table is corrupt
or symbol's st_name, st_shndx, vna_name or vda_name is invalid.
(debug_apply_rela_addends): Don't crash if relocation section's
sh_info or sh_link is invalid.
(display_debug_loc): Warn for unterminated .debug_loc section
or start offsets not within .debug_loc section boundaries.
(process_gnu_liblist): Don't crash if liblist section's sh_link
or entry's l_name is invalid.
2005-06-14 11:06:28 +00:00
Jakub Jelinek
f9ecb0a440
* objdump.c (disassemble_bytes): Don't crash if q->howto == NULL.
...
If q->howto->name == NULL, print q->howto->type as number instead.
(dump_reloc_set): Likewise.
2005-06-09 14:51:41 +00:00
Eric Christopher
a34e3ecb69
2005-06-07 Eric Christopher <echristo@redhat.com>
...
* Makefile.am (eelf32ms1.c): Use tab.
* Makefile.in: Regenerate.
2005-06-07 Eric Christopher <echristo@redhat.com>
* readelf.c (guess_is_rela): Support ms1.
(dump_relocations): Ditto.
(get_machine_name): Ditto.
2005-06-07 23:56:50 +00:00
Aldy Hernandez
1ae72221f9
* Makefile.am (readelf.o): Depend on ms1.h.
...
* Makefile.in: Regenerate.
* readelf.c: Include ms1.h.
2005-06-07 21:14:09 +00:00
H.J. Lu
5420f73dbb
bfd/
...
2005-06-06 H.J. Lu <hongjiu.lu@intel.com>
PR 990
* bfd.c (bfd_find_line): New.
* dwarf2.c (comp_unit): Add variable_table.
(funcinfo): Add file, line, and sec.
(varinfo): New.
(lookup_symbol_in_function_table): New.
(lookup_symbol_in_variable_table): New.
(scan_unit_for_functions): Renamed to ...
(scan_unit_for_symbols): This. Handle DW_TAG_entry_point and
DW_TAG_variable.
(comp_unit_find_nearest_line): Updated.
(comp_unit_find_line): New.
(_bfd_dwarf2_find_line): New.
* elf-bfd.h (_bfd_elf_find_line): New.
(_bfd_generic_find_line): New. Defined.
* elf.c (_bfd_elf_find_line): New.
* libbfd-in.h (_bfd_dwarf2_find_line): New.
(_bfd_generic_find_line): New.
* bfd-in2.h: Regenerated.
* libbfd.h: Likewise.
* libbfd.c (_bfd_generic_find_line): New.
* targets.c (BFD_JUMP_TABLE_SYMBOLS): Initialize _bfd_find_line
with _bfd_generic_find_line.
(bfd_target): Add _bfd_find_line.
binutils/
2005-06-06 H.J. Lu <hongjiu.lu@intel.com>
PR 990
* nm.c (print_symbol): Call bfd_find_line before
bfd_find_nearest_line.
2005-06-06 14:28:31 +00:00
Alan Modra
b12fe8393a
* NEWS: Mention new powerpc ld support.
2005-06-06 06:53:07 +00:00
Jim Wilson
b7d4af3a12
Patch from Steve Ellcey for hpux build failure.
...
* configure.in: Check for getc_unlocked prototype.
* configure: Regenerate.
* config.in: Regenerate.
* strings.c (get_char): Only call getc_unlocked if we have seen a
prototype.
2005-06-03 21:33:49 +00:00
Nick Clifton
82d457f64b
* configure.in (ALL_LINGUAS): Add zh_TW
...
* configure: Regenerate.
* po/zh_TW.po: New Chinese (traditional) translation.
2005-06-03 13:22:15 +00:00
Richard Henderson
7ace3541ba
* readelf.c (dump_relocations): Special case R_ALPHA_LITUSE.
2005-05-31 22:52:50 +00:00
Richard Henderson
fabcb3612f
* readelf.c (get_alpha_dynamic_type): New.
...
(get_dynamic_type): Call it.
2005-05-29 23:18:51 +00:00
H.J. Lu
391cb864cf
2005-05-24 H.J. Lu <hongjiu.lu@intel.com>
...
* readelf.c (process_section_groups): Report group section
index. Check if the section member index is valid.
2005-05-24 13:53:30 +00:00
Fred Fish
0c552dc188
Approved by nickc@redhat.com:
...
2005-05-23 Fred Fish <fnf@specifixinc.com>
* addr2line.c (unwind_inlines): New flag for 'i' option.
(usage): Document '-i' option.
(long_options): Recognize '--inlines'.
(translate_addresses): Loop, calling bfd_find_inliner_info as
necessary and printing multiple output lines.
(main): Handle 'i' option.
* doc/binutils.texi (addr2line): Document '-i' option.
* NEWS: Mention new addr2line '-i' option.
2005-05-23 17:45:42 +00:00
Nick Clifton
41a865baa2
(fetch_indirect_string): Display a warning message when a corrupt
...
DW_FORM_strp value is encountered.
(process_debug_info): Mention that the compilation unit offset is being
displayed in hexadecimal.
(display_debug_lines): Fix typo in name of .debug_line section.
2005-05-23 12:12:00 +00:00
Zack Weinberg
e3e71e27a4
* bfd/Makefile.am, binutils/Makefile.am, etc/Makefile.in
...
* gas/Makefile.am: Have 'all' depend on 'info'.
* ld/Makefile.am: Have 'all' depend on 'info' and 'ld.1'.
* bfd/Makefile.in, binutils/Makefile.in, gas/Makefile.in
* ld/Makefile.in: Regenerate.
2005-05-19 23:49:52 +00:00
Ben Elliston
d68f40330b
binutils/ChangeLog
...
* readelf.c (read_and_display_attr_value): Handle a DW_AT_encoding
value of DW_ATE_GNU_decimal_float.
include/elf/ChangeLog
* dwarf2.h (enum dwarf_type): Assign DW_ATE_GNU_decimal_float from
the user-defined encoding space pending inclusion in the standard.
2005-05-18 22:42:09 +00:00
Daniel Jacobowitz
970c3dbce8
binutils/
...
* doc/Makefile.am (config.texi): Don't use $<.
* doc/Makefile.in: Regenerated.
ld/
* Makefile.am (ldver.texi): Don't use $<.
* Makefile.in: Regenerated.
gas/
* doc/Makefile.am (gasver.texi): Don't use $<.
* doc/Makefile.in: Regenerated.
2005-05-17 19:43:52 +00:00
Nick Clifton
39ddb54e58
Ignore CRs
2005-05-17 16:08:54 +00:00
Daniel Jacobowitz
42ecbf5eda
./
...
* ylwrap: Import from Automake 1.9.5.
binutils/
* acinclude.m4: Remove obsolete code.
* configure.in: Update AC_PREREQ.
* doc/Makefile.am (binutils_TEXINFOS): Define.
(config.texi): Depend on distributed files instead of built
files.
(binutils.dvi, binutils.info): Remove unnecessary rules.
(DISTCLEANFILES): Remove.
(install-data-local): Renamed from install.
(info-local): Renamed from info.
* Makefile.in, aclocal.m4, config.in, configure,
doc/Makefile.in: Regenerated.
gas/
* Makefile.am (m68k-parse.c, itbl-parse.c): Update ylwrap
invocation.
* Makefile.in: Regenerated.
ld/
* Makefile.am (AM_MAKEINFOFLAGS): Define.
(TEXI2DVI): Define.
(ldver.texi): Depend on distributed files instead of built files.
(ld.info): Include $(srcdir) in the rule target. Remove actions.
(ld.dvi): Remove actions.
(MAINTAINERCLEANFILES): Add configdoc.texi.
(CONFIG_STATUS_DEPENDENCIES): Add bfd/configure.in.
(install-data-local): Renamed from install.
(Makefile): Remove explicit dependency.
* acinclude.m4: Remove obsolete code.
* configure.in: Update AC_PREREQ. Remove extra $CONFIG_SHELL.
* Makefile.in, aclocal.m4, config.in, configure: Regenerated.
gdb/
* Makefile.in (.y.c): Update ylwrap invocation.
2005-05-15 18:19:45 +00:00
Alan Modra
1fe44d7986
include/elf/
...
* ppc.h (DT_PPC_GOT): Rename from DT_PPC_GLINK.
bfd/
* elf32-ppc.c (ppc_elf_size_dynamic_sections): Set DT_PPC_GOT,
not DT_PPC_GLINK.
(ppc_elf_finish_dynamic_sections): Likewise.
binutils/
* readelf.c (get_ppc_dynamic_type): Display DT_PPC_GOT, not
DT_PPC_GLINK.
2005-05-14 05:07:20 +00:00
Fred Fish
f59f7c79ed
2005-05-13 Fred Fish <fnf@specifixinc.com>
...
* readelf.c: Fix a couple of obvious comment typos,
'debug_str' -> 'debug_ranges' and proecess' -> 'process'.
2005-05-14 01:38:14 +00:00
H.J. Lu
a4a0073871
2005-05-13 H.J. Lu <hongjiu.lu@intel.com>
...
* readelf.c (dump_ia64_unwind): Get stamp with proper size.
2005-05-13 18:35:55 +00:00
Nick Clifton
1ec742ac5e
Add missing \n character to end of warning message created by the previous delta
2005-05-12 14:09:23 +00:00
Nick Clifton
52d1fb02ab
If pointer_size has not been found then assume that it is 4 in order to
...
prevent a seg fault when process_extend_line_op attempts to read the line
data.
2005-05-12 09:05:36 +00:00
Alan Modra
7490d522be
* readelf.c (get_ppc_dynamic_type): New function for DT_PPC_GLINK.
...
(get_dynamic_type): Call the above.
2005-05-11 14:10:59 +00:00
Nick Clifton
b43b5d5f76
Update FSF address
2005-05-08 14:17:41 +00:00
Jan Beulich
a580b8e051
binutils/
...
2005-05-06 Jan Beulich <jbeulich@novell.com>
* objcopy.c (copy_file): Don't delete output upon error here.
(copy_main): Delete output upon error.
2005-05-06 06:32:43 +00:00
Ben Elliston
27eed06bc2
* dlltool.c (dtab): Remove empty function.
...
(process_duplicates): Remove calls to dtab().
2005-05-02 23:41:39 +00:00
Maciej W. Rozycki
36d3b95500
* doc/binutils.texi (strip, objcopy): Clarify the description of
...
the "--strip-debug" option. Fix a typo.
2005-05-01 16:02:56 +00:00
H.J. Lu
cba1200696
2005-04-29 H.J. Lu <hongjiu.lu@intel.com>
...
* bucomm.c: Undo the last change.
* bucomm.h: Likewise.
2005-04-29 16:49:20 +00:00
Ben Elliston
89b788963f
* more static'ing.
...
* syslex.l (word, number, unit): Remove unused variables.
* nlmheader.y (keyword_tokens): Make static.
* coffdump.c (dump_coff_symbol, coff_dump): Make static.
* coffgrok.c (lofile, last_function_symbol, last_function_type,
last_struct, last_enum, cur_sfile): Make variables static.
* sysdump.c (getCHARS, fillup, getBARRAY, getINT, getBITS,
sysroff_swap_tr_in, sysroff_print_tr_out): Make static.
* sysinfo.y (writecode, it, code, repeat, oldrepeat, name, rdepth,
names, pnames): Likewise.
2005-04-29 01:15:21 +00:00
Ben Elliston
85b1c36d31
* ar.c (mri_mode): Make static.
...
* arsup.c (obfd, real_name, outfile): Likewise.
* binemul.c (ar_emul_create): Remove unused function.
(ar_emul_default_create): Likewise.
* binemul.h (ar_emul_create): Remove declaration.
(ar_emul_default_create): Likewise.
(struct bin_emulation_xfer_struct): Remove ar_create member.
* bucomm.c (report): Make static.
* bucomm.h (report): Remove declaration.
* cxxfilt.c (mbuffer): Make static.
(main): Use unsigned ints for some loop control variables.
* readelf.c: Make many global variables static.
* size.c (berkeley_format): Make static.
(long_options): Likewise.
* emul_aix.c (bin_aix_emulation): Remove ar_emul_default_create
structure initialiser.
(bin_aix5_emulation): Likewise.
* emul_vanilla.c (bin_vanilla_emulation): Likewise.
2005-04-29 00:03:33 +00:00
Ben Elliston
943ea8a2b0
* syslex.l: Adjust top-of-file comment: this file is part of GNU
...
binutils, not GNU ld.
2005-04-27 01:29:58 +00:00
Nick Clifton
bee59fd28b
PR872
...
* objcopy.c (copy_archive): Initialise 'obfd' field of new name_list structure.
2005-04-25 14:27:00 +00:00
Nick Clifton
5219e4c0b4
Oops - forgot one place where -K is documented.
2005-04-25 09:25:57 +00:00
Nick Clifton
e7f918adb6
* objcopy.c (copy_usage): Fix description of -K switch.
...
* doc/binutils.texi (strip, objcopy): Fix description of -K switch.
2005-04-25 09:23:24 +00:00
Daniel Jacobowitz
ae67fcb5e7
* readelf.c (display_debug_frames): Use data factor for
...
DW_CFA_def_cfa_sf and DW_CFA_def_cfa_offset_sf.
2005-04-20 18:43:16 +00:00
H.J. Lu
3bee8bcdbf
2005-04-19 H.J. Lu <hongjiu.lu@intel.com>
...
* objdump.c (dump_section_header): Skip linker created section.
2005-04-19 21:29:46 +00:00
H.J. Lu
64c1196b58
2005-04-17 H.J. Lu <hongjiu.lu@intel.com>
...
* objdump.c (dump_section_header): Support SEC_GROUP.
2005-04-17 14:33:06 +00:00
Nick Clifton
520494b6f8
(debug_apply_rela_addends): Remove redundant %s from printf string.
2005-04-16 07:43:56 +00:00
Nick Clifton
ac559f4a6d
Issue an error message when attmepting to copy an empty input file.
2005-04-15 16:28:52 +00:00
Alan Modra
9e9b66a956
bfd/
...
* Makefile.am (NO_WERROR): Define.
* warning.m4: New file
* acinclude.m4: Include warning.m4.
* configure.in: Invoke AM_BINUTILS_WARNINGS.
* Makefile.in: Regenerate.
* configure: Regenerate.
bfd/doc/
* Makefile.in: Regenerate.
binutils/
* Makefile.am (NO_WERROR): Define. Use instead of -Wno-error.
* configure.in: Include ../bfd/warning.m4 contents.
* Makefile.in: Regenerate.
* configure: Regenerate.
* doc/Makefile.in: Regenerate.
gas/
* Makefile.am (NO_WERROR): Define. Use instead of -Wno-error.
* acinclude.m4: Include ../bfd/warning.m4.
* configure.in: Invoke AM_BINUTILS_WARNINGS.
* Makefile.in: Regenerate.
* configure: Regenerate.
* doc/Makefile.in: Regenerate.
gprof/
* Makefile.am (NO_WERROR): Define.
* acinclude.m4: Include ../bfd/warning.m4.
* configure.in: Invoke AM_BINUTILS_WARNINGS.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* configure: Regenerate.
ld/
* Makefile.am (NO_WERROR): Define. Use instead of -Wno-error.
* configure.in: Include ../bfd/warning.m4 contents.
* Makefile.in: Regenerate.
* configure: Regenerate.
opcodes/
* Makefile.am (NO_WERROR): Define.
* configure.in: Invoke AM_BINUTILS_WARNINGS.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* configure: Regenerate.
2005-04-14 05:26:44 +00:00
Alan Modra
ceae3e339f
bfd/
...
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* libcoff.h: Regenerate.
bfd/doc/
* Makefile.in: Regenerate.
binutils/
* Makefile.am: Run "make dep-am".
(syslex.o, sysinfo.o, arparse.o, arlex.o): Add -Wno-error to command.
(sysroff.o, defparse.o, deflex.o): Likewise.
(nlmheader.o, rcparse.o, rclex.o): Likewise.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
gas/
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
ld/
* Makefile.am: Run "make dep-am".
(ldgram.o, ldlex.o, deffilep.o): Add -Wno-error to command.
* Makefile.in: Regenerate.
* config.in: Regenerate.
2005-04-12 02:50:28 +00:00
Jan Beulich
53260797e5
binutils/
...
2005-04-11 Jan Beulich <jbeulich@novell.com>
* MAINTAINERS: Add myself as ix86 Intel mode maintainer.
2005-04-11 15:16:22 +00:00
H.J. Lu
52f3cf45e3
2005-04-06 Nick Clifton <nickc@redhat.com>
...
H.J. Lu <hongjiu.lu@intel.com>
* po/rw.po: New translation: Kinyarwanda.
* configure.in (ALL_LINGUAS): Add rw.
* configure: Regenerate.
2005-04-06 14:45:54 +00:00
Nick Clifton
429cc0ae05
New translation: Kinyarwanda
2005-04-05 07:58:41 +00:00
Nick Clifton
ae99769bfc
Condense the two tests into one and add a "-M entry:" for the second label.
2005-04-04 17:20:29 +00:00
Maciej W. Rozycki
a8b683fc5e
* readelf.c (debug_apply_rela_addends): Reorder r_info as
...
necessary for 64-bit MIPS.
2005-04-04 15:07:18 +00:00
Maciej W. Rozycki
470e4bd1c2
* doc/binutils.texi (readelf): Remove a duplicate paragraph.
2005-04-04 14:56:12 +00:00
Nick Clifton
661f7c357e
Add a check to see if the section for the symbol is chosen using
...
process_section_p.
2005-04-04 10:32:28 +00:00
H.J. Lu
81fc812e7d
2005-04-01 H.J. Lu <hongjiu.lu@intel.com>
...
* NEWS: Mention new readelf options, "-N/--full-section-name"
and "-g/--section-groups".
* doc/binutils.texi: Document new readelf options,
"-N/--full-section-name" and "-g/--section-groups".
2005-04-01 15:09:43 +00:00
H.J. Lu
595cf52ef2
2005-03-31 H.J. Lu <hongjiu.lu@intel.com>
...
* readelf.c (do_full_section_name): New.
(options): Add "--full-section-name"/'N'.
(usage): Add -N/--full-section-name.
(parse_args): Handle 'N'.
(process_section_headers): Print out the full section name if
do_full_section_name isn't 0.
2005-04-01 00:03:17 +00:00
Nick Clifton
e46eba98ae
Add a check for <unistd.h> providing a prototype for getopt() which is compatible
...
with the one in include/getopt.h. If so then define HAVE_DECL_GETOPT.
2005-03-31 14:40:41 +00:00
Nick Clifton
ec72cfe589
Add VAX specific disassembler option -Mentry: to specify a function entry
...
address, and add code to test this new option.
2005-03-29 16:13:48 +00:00
Anil Paranjpe
abd18680d3
2005-03-29 Anil Paranjpe <anilp1@kpitcummins.com>
...
* MAINTAINERS: Add myself as H8300 maintainer.
2005-03-29 06:23:59 +00:00
Aaron W. LaFramboise
5810296be6
* objdump.c (disassemble_bytes): Remove cast.
2005-03-28 12:28:17 +00:00
Thiemo Seufer
4591cae21e
Update mail address.
2005-03-25 16:20:01 +00:00
Daniel Jacobowitz
335a0d3988
* BRANCHES: Add binutils-csl-arm-2005q1-branch and
...
binutils-2_16-branch.
2005-03-25 15:42:29 +00:00
Mark Kettenis
163730f0bb
* MAINTAINERS: Add myself as M88k maintainer.
2005-03-25 15:23:18 +00:00
Danny Smith
bcfb5d778f
* winduni.c (unicode_from_ascii): Don't declare variables
...
's' and 'w' if _WIN32. Use MultiByteToWideChar to set the unicode
string len.
2005-03-24 21:26:21 +00:00
Dmitry Diky
1acfb01b60
Add Dmitry Diky to maintainers list as msp430 maintainer
2005-03-24 18:04:38 +00:00
Nick Clifton
fa0c505602
Update French translation
2005-03-23 09:44:07 +00:00
Nick Clifton
41772c33ca
Add Daniel Jacobwitz to the blanket write privileges list.
2005-03-22 07:49:42 +00:00
Mark Mitchell
b294bdf8d0
* elf32-arm.c (elf32_arm_modify_segment_map): New function.
...
(elf32_arm_additional_program_headers): Likewise.
(elf_backend_modify_segment_map): Define.
(elf_backend_additional_program_headers): Likewise.
(elf32_arm_symbian_modify_segment_map): Use
elf32_arm_modify_segment_map.
* binutils/readelf.c (get_arm_segment_type): New function.
(get_segment_type): Use it.
* arm.h (PT_ARM_EXIDX): Define.
2005-03-18 17:06:16 +00:00
Paul Brook
58450b3bbc
2005-03-18 Paul Brook <paul@codesourcery.com>
...
* objdump.c (objdump_print_addr): Avoid uninitialized warning.
2005-03-18 16:28:13 +00:00
Diego Novillo
2115ce97f8
* MAINTAINERS: Remove self as maintainer of x86 intel
...
mode.
2005-03-17 13:21:31 +00:00
Nick Clifton
569acd2ce2
Rename switch to enable/disable -Werror to --enable-werror/--disable-werror
...
for compatibility with gcc.
2005-03-16 17:18:17 +00:00
Nick Clifton
1ad12f975f
Enable -Werror by default
2005-03-16 16:17:14 +00:00
Nick Clifton
7b4a0685e8
Add new switch --globalize-symbol to convert local symbols into globals.
2005-03-15 17:45:19 +00:00
Alan Modra
729ae8d20e
Commit new Spanish translation.
2005-03-15 05:25:37 +00:00
Alan Modra
ea8409f729
Commit new French translation.
2005-03-14 23:39:09 +00:00
Alan Modra
248642aba7
* po/tr.po: Commit new Turkish translation.
2005-03-13 23:42:47 +00:00
Nick Clifton
e8d4604887
Updated French translation
2005-03-11 08:36:32 +00:00
Nick Clifton
af99dc6d4e
Import updated Russian translation from Translation Project's website.
2005-03-10 16:15:24 +00:00
Nick Clifton
953130a55d
Add Romanian translation
2005-03-10 10:39:29 +00:00
Ben Elliston
55aba7043f
* config/default.exp: Remove send_user call for stray output.
2005-03-07 23:12:53 +00:00
Alan Modra
06647dfdde
Regenerate .pot files
2005-03-05 12:14:34 +00:00
Alan Modra
aef6203bd6
update copyright dates
2005-03-03 11:52:12 +00:00
Jan Beulich
bb14f52400
bfd/
...
2005-03-02 Jan Beulich <jbeulich@novell.com>
* Makefile.am: Add dependency of cache.o on libiberty.h.
* cache.c: Include libiberty.h.
(bfd_open_file): Use unlink_if_ordinary instead of unlink.
binutils/
2005-03-02 Jan Beulich <jbeulich@novell.com>
* ar.c (remove_output): Use unlink_if_ordinary instead of unlink.
* objcopy.c (copy_file): Likewise.
(strip_main): Likewise.
gas/
2005-03-02 Jan Beulich <jbeulich@novell.com>
* as.c (main): Use unlink_if_ordinary instead of unlink.
* messages.c (as_fatal): Likewise.
ld/
2005-03-02 Jan Beulich <jbeulich@novell.com>
* ldmain.c (remove_output): Use unlink_if_ordinary instead of unlink.
* pe-dll.c (pe_dll_generate_implib): Likewise.
2005-03-02 09:03:58 +00:00
Nick Clifton
ce04548af9
objdump.c: Fix coding for DISASSEMBLER_NEEDS_RELOC:
...
(struct objdump_disasm_info): Add 'reloc' field.
(disassemble_bytes): Fix check for when an insn has a reloc associated with it.
Improve comment explaining why the use of octets is wrong. Set the 'reloc'
field in objdump_disasm_info structure.
(objdump_print_addr): Use new 'reloc' field to lookup the correct address for
the symbol associated with the current instruction's relocation.
(disassemble_info): Initialise 'reloc' field.
gas/arm/inst.d: Allow for ARM ports which decode the reloc associated with
branches and so show the exact symbolic destination address rather than an
offset from the start of the section.
gas/arm/pic.d: Likewise.
2005-03-01 15:18:44 +00:00
Jakub Jelinek
e9e446227d
* readelf.c (get_file_type, get_machine_name, get_osabi_name,
...
get_segment_type, get_section_type_name, get_elf_class,
get_data_encoding, get_group_flags, dynamic_section_mips_val,
get_symbol_binding, get_symbol_type, get_TAG_name, get_FORM_name,
get_AT_name, process_mips_specific, process_gnu_liblist,
get_note_type, get_netbsd_elfcore_note_type): Use snprintf instead of
sprintf where needed.
(get_dynamic_type): Likewise. Increase buff to 64 bytes.
(get_elf_section_flags): Increase buff to 33 bytes. Avoid
using strcat.
(get_dynamic_flags): Renamed to...
(print_dynamic_flags): ... this. Print the flags to stdout instead
of returning them as string.
(process_dynamic_section): Adjust caller.
2005-02-28 15:27:16 +00:00
Svein Seldal
e5f129ad9c
Changed my own mail address
2005-02-27 18:44:55 +00:00
H.J. Lu
35515c66de
2005-02-25 H.J. Lu <hongjiu.lu@intel.com>
...
* readelf.c (display_debug_ranges): Print out offset for end of
list.
2005-02-25 22:12:12 +00:00
Alan Modra
9210d87943
* dlltool.c: Warning fixes.
...
* objdump.c: Likewise.
2005-02-23 12:25:57 +00:00
Alan Modra
dc3c06c291
* Makefile.am (syslex.o, sysinfo.o): Pass AM_CFLAGS to compiler.
...
(syslex.o, sysinfo.o, dlltool.o, rescoff.o): Remove duplicate
dependencies. Run "make dep-am".
* nlmconv.c: Warning fixes.
* readelf.c: Likewise.
* srconv.c: Likewise.
* sysdump.c: Likewise.
* sysinfo.y: Likewise.
* syslex.l: Likewise. Use yyleng instead of strlen, memcpy instead
of strcpy.
* Makefile.in: Regenerate.
2005-02-22 12:57:27 +00:00
H.J. Lu
ebe372c1dd
bfd/
...
2005-02-21 H.J. Lu <hongjiu.lu@intel.com>
* coffcode.h (sec_to_styp_flags): Replaced SEC_CLINK with
SEC_TIC54X_CLINK. Replace SEC_BLOCK with SEC_TIC54X_BLOCK.
Replace SEC_SHARED with SEC_COFF_SHARED.
(styp_to_sec_flags): Likewise.
* elfxx-target.h (TARGET_BIG_SYM): Remove SEC_ARCH_BIT_0.
(TARGET_LITTLE_SYM): Likewise.
* section.c (SEC_ARCH_BIT_0): Removed.
(SEC_LINK_DUPLICATES_SAME_CONTENTS): Defined with
SEC_LINK_DUPLICATES_ONE_ONLY and SEC_LINK_DUPLICATES_SAME_SIZE.
(SEC_SHARED): Renamed to ...
(SEC_COFF_SHARED): This.
(SEC_BLOCK): Renamed to ...
(SEC_TIC54X_BLOCK): This.
(SEC_CLINK): Renamed to ...
(SEC_TIC54X_CLINK): This.
(SEC_XXX): Rearranged. Move SEC_COFF_SHARED_LIBRARY,
SEC_COFF_SHARED, SEC_TIC54X_BLOCK and SEC_TIC54X_CLINK to the
end.
* bfd-in2.h: Regenerated.
binutils/
2005-02-21 H.J. Lu <hongjiu.lu@intel.com>
* objcopy.c (parse_flags): Replace SEC_SHARED with
SEC_COFF_SHARED.
* objdump.c (dump_section_header): Dump SEC_TIC54X_BLOCK and
SEC_TIC54X_CLINK for TI c54x only. Remove SEC_ARCH_BIT_0. Dump
SEC_COFF_SHARED for COFF only.
gas/
2005-02-21 H.J. Lu <hongjiu.lu@intel.com>
* config/obj-coff.c (obj_coff_section): Replace SEC_SHARED with
SEC_COFF_SHARED.
* config/tc-tic54x.c (tic54x_bss): Replace SEC_BLOCK with
SEC_TIC54X_BLOCK.
(demand_empty_rest_of_line): Likewise.
(tic54x_sblock): Likewise.
(tic54x_clink): Replace with SEC_CLINK with SEC_TIC54X_CLINK.
ld/
2005-02-21 H.J. Lu <hongjiu.lu@intel.com>
* ldlang.c (lang_add_section): Check SEC_TIC54X_BLOCK for TI
tic54x input only.
(lang_size_sections_1): Check SEC_COFF_SHARED_LIBRARY for COFF
and ECOFF output only.
2005-02-22 00:50:07 +00:00
Alan Modra
72f4774460
* Makefile.am: Run "make dep-am"
...
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
2005-02-21 11:48:59 +00:00
Alan Modra
665435215e
* readelf.c (BYTE_GET8): Delete. Replace uses with BYTE_GET.
...
(byte_get_little_endian): Don't handle size of -8.
(byte_get_signed, byte_get_big_endian): Likewise.
(print_dec_vma, print_hex_vma): New functions.
(print_vma): Use them. Return chars output.
(get_dynamic_data): Return a bfd_vma array. Add ent_size parm.
(process_symbol_table): Handle alpha and s390 .hash.
2005-02-21 02:55:56 +00:00
H.J. Lu
904c75ac4f
2005-02-18 H.J. Lu <hongjiu.lu@intel.com>
...
* readelf.c (display_debug_loc): Print out offset for end of
list.
2005-02-18 15:58:45 +00:00
Joseph Myers
ac40b91956
* Makefile.am (TOOL_PROGS): Add objdump.
...
* Makefile.in: Regenerate.
2005-02-18 02:22:03 +00:00
Alan Modra
0af6db78f3
* deflex.l (YY_NO_UNPUT): Define.
...
* rclex.l (YY_NO_UNPUT): Define.
* rcparse.y (null_unichar): New static var.
(res_null_text): Use it rather than attempting to init from wchar_t.
* windres.c: Include assert.h and time.h before getopt.h.
Include config.h and unistd.h too.
2005-02-17 12:59:59 +00:00
Nick Clifton
4d116f4d9d
Remove prototype for localetime altogether. It should not be needed on modern
...
systems and older systems can live with the warning.
2005-02-16 12:55:43 +00:00
Nick Clifton
b5e6aa6331
Provide a full prototype for the localtime() function in order to avoid a
...
compile time warning.
2005-02-15 14:31:13 +00:00
H.J. Lu
d1f5c6e34f
2005-02-10 H.J. Lu <hongjiu.lu@intel.com>
...
* readelf.c (group_count): Don't initialize it.
(process_section_groups): Reurn 1 if we won't do unwind nor
section groups. Set group_count to 0 before counting group
sections and return 1 if there are no group sections. Reread
SHT_SYMTAB/SHT_STRTAB sections only when needed. Don't skip
section 0.
(process_object): Only set do_unwind to 0 if
process_section_groups return 0.
2005-02-11 15:48:11 +00:00
Ian Lance Taylor
3517749cb8
* MAINTAINERS: Update my e-mail address.
2005-02-10 23:34:43 +00:00
Mark Mitchell
0dffe982d8
* MAINTAINERS: Add Paul Brook and Mark Mitchell as ARM (Symbian)
...
maintainers.
2005-02-10 08:01:41 +00:00
Nick Clifton
c4cf382105
Add Inderpreet Singh as maintainer of MAXQ.
2005-02-07 16:05:11 +00:00
Richard Sandiford
89fac5e3c3
* readelf.c (eh_addr_size): New variable.
...
(find_section): Move earlier in file. Return empty sections too.
(process_program_headers): Use find_section to find .dynamic.
(process_section_headers): Initialize eh_addr_size.
(dump_ia64_unwind, slurp_ia64_unwind_table, ia64_process_unwind)
(dump_hppa_unwind, slurp_hppa_unwind_table, hppa_process_unwind)
(display_debug_frames): Use it instead of local addr_size variable.
(size_of_encoded_value): Get pointer size from eh_addr_size rather
than is_32bit_elf.
2005-01-31 20:35:25 +00:00
Andrew Cagney
c46f8c5116
2005-01-31 Andrew Cagney <cagney@gnu.org>
...
* gettext.m4: Only set ENABLE_NLS when gettext is present.
2005-01-31 20:32:45 +00:00
Nick Clifton
d342277e67
Update reported copyright dates.
2005-01-31 17:36:24 +00:00
Alan Modra
8615f3f213
bfd/
...
* elf.c (_bfd_elf_get_dynamic_reloc_upper_bound): Only include
loadable reloc sections.
(_bfd_elf_canonicalize_dynamic_reloc): Likewise.
(_bfd_elf_get_synthetic_symtab): Return 0 if no dynamic syms.
binutils/
* nm.c (display_rel_file): Read dynamic syms before calling
bfd_get_synthetic_symtab.
2005-01-25 10:33:55 +00:00