Anthony Green
739fea7ba8
Fix C90 conversion
2003-09-15 14:40:44 +00:00
Andreas Jaeger
2da42df615
* addr2line.c: Convert to ISO C90 prototypes, change PTR, remove
...
unneeded (void *) casts.
* ar.c: Likewise.
* arlex.l: Likewise.
* arparse.y: Likewise.
* arsup.c: Likewise.
* binemul.c: Likewise.
* binemul.h: Likewise.
* bucomm.c: Likewise.
* bucomm.h: Likewise.
* budbg.h: Likewise.
* budemang.c: Likewise.
* budemang.h: Likewise.
* coffdump.c: Likewise.
* coffgrok.c: Likewise.
* cxxfilt.c: Likewise.
* debug.c: Likewise.
* debug.h: Likewise.
* deflex.l: Likewise.
* dlltool.c: Likewise.
* dlltool.h: Likewise.
* dllwrap.c: Likewise.
* emul_aix.c: Likewise.
* filemode.c: Likewise.
* ieee.c: Likewise.
* nlmconv.c: Likewise.
* nlmconv.h: Likewise.
* nlmheader.y: Likewise.
* nm.c: Likewise.
* prdbg.c: Likewise.
* rclex.l: Likewise.
* rcparse.y: Likewise.
* rdcoff.c: Likewise.
* rddbg.c: Likewise.
* rename.c: Likewise.
* resbin.c: Likewise.
* rescoff.c: Likewise.
* resrc.c: Likewise.
* size.c: Likewise.
* srconv.c: Likewise.
* stabs.c: Likewise.
* strings.c: Likewise.
* sysdump.c: Likewise.
* sysinfo.y: Likewise.
* syslex.l: Likewise.
* unwind-ia64.c: Likewise.
* unwind-ia64.h: Likewise.
* version.c: Likewise.
* windres.c: Likewise.
* windres.h: Likewise.
* winduni.c: Likewise.
* wrstabs.c: Likewise.
2003-09-14 12:20:17 +00:00
Jim Wilson
e831786b89
* MAINTAINERS: Update my e-mail address.
2003-09-10 23:28:13 +00:00
Ian Lance Taylor
afa7d0b241
* MAINTAINERS: Update my e-mail address.
2003-09-09 20:25:58 +00:00
Nick Clifton
04fbe4296a
Make it clear what should be done with patches to the top level configure files
...
(other than config.guess and config.sub).
Add binutils@sources.redhat.com as an address to which patches can be sent.
2003-09-04 12:30:27 +00:00
Nick Clifton
8ad30312ff
Add binutils support for v850e1 processor
2003-09-04 11:04:38 +00:00
Andrew Cagney
92c2346c02
Index: opcodes/ChangeLog
...
2003-09-03 Andrew Cagney <cagney@redhat.com>
* dis-init.c (init_disassemble_info): New file and function.
* Makefile.am (CFILES): Add "dis-init.c".
(libopcodes_la_SOURCES): Add "dis-init.c".
(dis-init.lo): Specify dependencies.
* Makefile.in: Regenerate.
Index: include/ChangeLog
2003-08-27 Andrew Cagney <cagney@redhat.com>
* dis-asm.h (init_disassemble_info): Declare.
(INIT_DISASSEMBLE_INFO): Redefine as a call to
init_disassemble_info.
(INIT_DISASSEMBLE_INFO_NO_ARCH): Ditto.
Index: binutils/ChangeLog
2003-09-03 Andrew Cagney <cagney@redhat.com>
* objdump.c: Refer to init_disassemble_info in comments.
(disassemble_data): Replace INIT_DISASSEMBLE_INFO with
init_disassemble_info.
2003-09-03 23:43:18 +00:00
Nick Clifton
155e0d2321
Use bfd_map_over_sections to walk section chain.
...
Do not dump the contents of an empty section.
2003-09-03 08:26:52 +00:00
Alan Modra
6b10f68d80
* MAINTAINERS: Move Dave Anglin's entry to where it belongs.
2003-09-01 22:45:05 +00:00
Nick Clifton
3673a93e66
Updated translations
2003-08-21 13:52:58 +00:00
Alan Modra
55bb4be376
* dep-in.sed: Remove libintl.h.
...
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
2003-08-14 07:15:36 +00:00
Alan Modra
51f7282a43
* Makefile.am (POTFILES.in): Unset LC_COLLATE.
...
* Makefile.in: Regenerate.
2003-08-14 07:03:41 +00:00
Ian Lance Taylor
d989285ca3
* readelf.c (process_archive): Fix error handling. Remove memory
...
leak.
2003-08-11 16:34:18 +00:00
Nick Clifton
fb52b2f459
Add ability for readelf to parse archives
2003-08-11 09:15:55 +00:00
Nick Clifton
ff85ab24ab
Updated French translation
2003-08-08 08:22:06 +00:00
Alan Modra
d3ba05513b
* objcopy.c: Remove unnecessary prototypes and casts.
...
* objdump.c: Remove unnecessary casts.
* readelf.c: Convert to C90. Remove unnecessary prototypes and casts.
(get_osabi_name): Move so we don't need a forward declaration.
2003-08-05 14:40:54 +00:00
Alan Modra
43ac988152
* objdump.c (include_paths, include_path_count): New vars.
...
(usage): Describe --include.
(long_options): Add "include".
(add_include_path): New function.
(struct print_file_list): Make filename const. Add modname.
(try_print_file_open, update_source_path): New functions.
(show_line): Use them.
(main): Handle 'I' option. Don't check for NULL xrealloc arg.
2003-08-04 14:29:34 +00:00
Alan Modra
fd7bb956ee
* objdump.c: Remove unnecessary prototypes.
...
(disassemble_bytes): Add rel_offset parameter. Simplify reloc skipping
code, and print relocs when dump_dynamic_reloc_info.
(disassemble_data): Read and handle dynamic relocs. Correct reloc
skip code. Formatting.
(dump_bfd): Don't dump dynamic relocs when disassembling.
2003-07-30 03:54:15 +00:00
Ben Elliston
1e7e751f4d
* MAINTAINERS: Remove self as M88k maintainer. Future M88k
...
maintenance defaults to the blanket write privilege maintainers.
2003-07-29 23:44:03 +00:00
Michael Meissner
2445335eea
Update meissner email address
2003-07-29 17:09:00 +00:00
Nick Clifton
46dca2e0ea
Update to Iso C.
2003-07-29 15:40:37 +00:00
Nick Clifton
f1e2bc6264
Do not ignore sections without the LOAD flag when disassemble_all is true.
...
Only print a message about disassembling a section if it contains some data.
2003-07-24 14:06:07 +00:00
Nick Clifton
834d807bb8
Updated French translations
2003-07-24 11:16:05 +00:00
Nick Clifton
84e2f31326
Tidy up code. Switch to ISO C
2003-07-23 17:34:03 +00:00
Nick Clifton
51cdc6e056
* objdump.c: New command line option --debugging-tags.
...
* doc/binutils.texi: Document new command line option.
* prdbg.c: Code to print the debug info as tags compatible with ctags.
* budbg.h: Adjust prototype.
* NEWS: Mention new switch
2003-07-22 13:33:32 +00:00
Nick Clifton
31e0f3cd45
* objdump.c (main) :Accept multiple -M switch.
...
* doc/binutils.texi: Document that multiple -M switches are accepted and that
a single -M switch can contain comma separated options.
* arm-dis.c (parse_arm_disassembler_option): Do not expect option string to be
NUL terminated.
(parse_disassembler_options): Allow options to be space or comma separated.
2003-07-18 11:34:41 +00:00
Nick Clifton
073fbac62c
* objdump.c (main): Issue a warning message if multiple -M
...
switches are used.
* doc/binutils.texi (objdump): Update documentation about -M
option.
2003-07-17 17:02:46 +00:00
Nick Clifton
6c37ac4d15
Update translations
2003-07-17 14:22:45 +00:00
Alan Modra
fce0080055
Update pot files.
2003-07-11 05:10:21 +00:00
Christopher Faylor
ff6b622203
* dlltool.c (prefix_encode): Use a fixed length for alpha.
2003-07-05 13:49:50 +00:00
Christopher Faylor
bf7a6389e8
* dlltool.c (prefix_encode): New function. Encode temp file prefix from pid.
...
(dlltmp): Pass address of pointer being alloced or suffer neverending mallocs.
(make_one_lib_file): Allocate enough space for new longer stub names.
(gen_lib_file): Ditto.
(main): Generate the temp file prefix from the pid if prefix was not specified
on the command line.
2003-07-05 02:58:29 +00:00
Nick Clifton
96c223ce90
* readelf.c (get_data): Print (unsigned) hex values for size and offset in
...
error messages.
(process_section_headers): If the string table could not be allocated, do
not continue.
2003-07-04 10:42:26 +00:00
Jakub Jelinek
bdf4d63a1d
* readelf.c (dynamic_segment_ia64_val): Print address and newline
...
for sections by default. Comment fix.
2003-07-01 15:54:15 +00:00
Danny Smith
bd7421f06a
* binutils-all/objcopy.exp: Initialise $test_prog to
...
testprog.exe on mingw targeted systems too.
2003-06-28 23:27:42 +00:00
Danny Smith
b9ae04920a
* rcparse.y (res_text_field): New res_id variable.
...
(res_null_text): New static const struct res_id object,
with empty unicode name field.
(control): Pop parsing of optresidc up one level. Set
res_text_field to $2 except for controls which do not accept
a text field. Set res_text_field to res_null_text for the
special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR).
(control_params): Adjust to use res_text_field rather
than optresidc.
(COMBOBOX): Add comment about discrepency between documented
vs. observed default style.
* resrc.c (define_control): Make first param const.
* windres.h (define_control): Adjust prototype.
testsuite:
* binutils-all/windres/checkbox.rc: New file.
* binutils-all/windres/checkbox.rsd: New file.
* binutils-all/windres/combobox.rc: New file.
* binutils-all/windres/combobox.rsd: New file.
* binutils-all/windres/edittext.rc: New file.
* binutils-all/windres/edittext.rsd: New file.
* binutils-all/windres/listbox.rc: New file.
* binutils-all/windres/listbox.rsd: New file.
* binutils-all/windres/scrollbar.rc: New file.
* binutils-all/windres/scrollbar.rsd: New file.
2003-06-28 02:37:43 +00:00
Nick Clifton
e7c81c254c
Fix --add-gnu-debuglink
2003-06-27 08:01:28 +00:00
Thiemo Seufer
d6e08ad8ab
Fix misdirected ChangeLog entry.
2003-06-27 01:18:23 +00:00
Thiemo Seufer
7a79a000c1
* elfxx-mips.c (_bfd_mips_elf_fake_sections): Remove non-default
...
relocation header setup.
* binutils-all/readelf.ss-tmips: Adjust symbol indices.
2003-06-27 01:16:30 +00:00
Nick Clifton
d93f0186ba
Fix computation of offsets in PT_LOAD sections.
2003-06-26 12:46:17 +00:00
Nick Clifton
ed1653a7a6
Add --only-keep-debug switch
2003-06-26 08:14:10 +00:00
Alan Modra
1049f94e8e
Correct spelling of "relocatable".
2003-06-25 06:40:27 +00:00
Nick Clifton
2c58cc864d
oops - remove spurious debugging left in previous delta
2003-06-19 10:24:52 +00:00
Nick Clifton
b19aac67f8
When printing DEC_5 values, if the number is bigger than 99999 switch to using
...
hexadecimal notation.
2003-06-19 10:23:39 +00:00
Nick Clifton
f8a7038a5f
Replace occurances of testprog with $test_prog. Initialise this variable to
...
testprog.exe on Cygwin targeted systems.
2003-06-19 07:45:50 +00:00
Thiemo Seufer
535b046a80
* MAINTAINERS: Add myself as MIPS co-maintainer.
2003-06-12 16:47:09 +00:00
Nick Clifton
2593f09acc
Add new switch to objcopy: --add-gnu-debuglink=<file>
...
Allows packages to be shipped in two forms, a stripped executable and debug
info file.
2003-06-12 07:23:31 +00:00
H.J. Lu
3b4433739c
bfd/
...
2003-06-06 H.J. Lu <hongjiu.lu@intel.com>
* po/Make-in (DESTDIR): New.
(install-data-yes): Support $(DESTDIR).
(uninstall): Likewise.
binutils/
2003-06-06 H.J. Lu <hongjiu.lu@intel.com>
* po/Make-in (DESTDIR): New.
(install-data-yes): Support $(DESTDIR).
(uninstall): Likewise.
gas/
2003-06-06 H.J. Lu <hongjiu.lu@intel.com>
* po/Make-in (DESTDIR): New.
(install-data-yes): Support $(DESTDIR).
(uninstall): Likewise.
gprof/
2003-06-06 H.J. Lu <hongjiu.lu@intel.com>
* po/Make-in (DESTDIR): New.
(install-data-yes): Support $(DESTDIR).
(uninstall): Likewise.
ld/
2003-06-06 H.J. Lu <hongjiu.lu@intel.com>
* po/Make-in (DESTDIR): New.
(install-data-yes): Support $(DESTDIR).
(uninstall): Likewise.
opcodes/
2003-06-06 H.J. Lu <hongjiu.lu@intel.com>
* po/Make-in (DESTDIR): New.
(install-data-yes): Support $(DESTDIR).
(uninstall): Likewise.
2003-06-11 01:32:08 +00:00
Alan Modra
795bb480ca
* bfd/Makefile.am (config.status): Depend on version.h.
...
Run "make dep-am" in bfd/ and elsewhere, and regen files.
2003-06-10 23:44:42 +00:00
Jakub Jelinek
9ee5e4996f
binutils/
...
* readelf.c (get_segment_type): Handle PT_GNU_STACK.
bfd/
* elf.c (_bfd_elf_print_private_bfd_data): Handle PT_GNU_STACK.
(bfd_section_from_phdr): Likewise.
(map_sections_to_segments): Create PT_GNU_STACK segment header.
(get_program_header_size): Count with PT_GNU_STACK.
* elf-bfd.h (struct elf_obj_tdata): Add stack_flags.
* elflink.h (bfd_elfNN_size_dynamic_sections): Set stack_flags.
include/
* bfdlink.h (struct bfd_link_info): Add execstack and noexecstack.
* elf/common.h (PT_GNU_STACK): Define.
ld/
* ldgram.y (phdr_type): Grok PT_GNU_STACK.
* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
-z execstack and -z noexecstack.
(gld${EMULATION_NAME}_list_options): Likewise.
* scripttempl/elf.sc: If not -r, discard .note.GNU-stack section.
2003-06-03 22:27:24 +00:00
Nick Clifton
a3b6428fe7
Return 'n' if section flags are SEC_HAS_CONTENTS && SEC_READONLY.
2003-06-03 17:45:49 +00:00