H.J. Lu
77f762d6e4
2005-06-14 H.J. Lu <hongjiu.lu@intel.com>
...
PR 995
* ar.c (BUFSIZE): Moved to ...
* bucomm.h (BUFSIZE): Here.
* bucomm.c: Include <assert.h>.
(bfd_get_archive_filename): New.
* bucomm.h (bfd_get_archive_filename): New.
* objcopy.c (copy_unknown_object): New.
(copy_object): Use bfd_get_archive_filename when reporting input
error. Don't call fatal on unknown arch.
(copy_archive): Call copy_unknown_object on unknown format or
arch.
2005-06-14 13:26:42 +00:00
Nick Clifton
b43b5d5f76
Update FSF address
2005-05-08 14:17:41 +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
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
Ben Elliston
84e43642e3
* dlltool.c (dump_iat): Remove unused function.
...
(gen_exp_file): Remove #if 0'd code.
(make_one_lib_file): Likewise.
* srconv.c: Remove #if 0'd code throughout.
* size.c (lprint_number): Remove.
(print_berkeley_format): Remove #if 0'd code.
* ar.c (do_quick_append): Remove declaration and definiton.
(main): Remove #if 0'd code.
* filemode.c (filemodestring): Remove #if 0'd function.
* sysdump.c (unit_info_list): Remove function.
(object_body_list): Likewise.
(program_structure): Likewise.
(debug_list): Likewise.
(module): Remove #if 0'd code.
2005-01-21 05:40:24 +00:00
Jakub Jelinek
b3f21e4a58
* ar.c (extract_file): Set atime to mtime for ar xo.
2004-10-26 08:08:21 +00:00
Nick Clifton
360589e892
PR 363
...
* ar.c (replace_members): Do not use get_file_size as ar_emul_append correctly
handles missing files.
2004-09-09 11:52:41 +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
Andrew Cagney
c92c35e706
Use bfd_cache_close, instead of accessing bfd->iostream directly.
2004-02-15 02:24:53 +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
b2699c8b72
Remove "member" from verbose output of "-dv" in order to conform to POSIX
...
specification.
2003-11-10 17:28:33 +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
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
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
Alan Modra
b34976b65a
s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify
...
comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
2002-11-30 08:39:46 +00:00
Kazu Hirata
f462a9ea21
* addr2line.c: Fix formatting.
...
* ar.c: Likewise.
* arsup.c: Likewise.
* arsup.h: Likewise.
* binemul.c: Likewise.
* binemul.h: Likewise.
* bucomm.c: Likewise.
* coffdump.c: Likewise.
* coffgrok.c: Likewise.
* coffgrok.h: Likewise.
2002-05-19 16:17:54 +00:00
Alan Modra
e58a75dc2d
* ar.c (replace_members): Remove unused var. Formatting fix.
...
* binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
2002-05-04 01:55:39 +00:00
Nick Clifton
eb1e0e807a
Add AIX 64 shared library support and emulation layer for binutils
2002-03-18 12:46:27 +00:00
Nick Clifton
8b53311e10
Tidy up formatting of --help output.
2002-01-23 16:12:56 +00:00
Thiemo Seufer
65de42c0f9
* addr2line.c (main): Protoype.
...
* ar.c (main): Protoype.
* nm.c (main): Protoype.
* objcopy.c (main): Protoype.
* objdump.c (main): Protoype.
* size.c (main): Protoype.
* strings.c (main): Protoype.
* gasp.c (main): Protoype.
2001-12-18 08:22:30 +00:00
H.J. Lu
3882b01078
Locale changes from Bruno Haible <haible@clisp.cons.org>.
2001-09-19 05:33:36 +00:00
Alan Modra
e59b4dfbd2
* ar.c (print_contents): Cast args of bfd_seek to the right types.
...
Replace bfd_read call with call to bfd_bread.
(extract_file): Likewise.
* objdump.c (dump_section_header): Cast section->filepos to
unsigned long to suit printf format string.
* readelf.c (process_section_headers): Similarly for sh_offset.
(process_unwind): Likewise.
2001-09-18 10:05:55 +00:00
Nick Clifton
8c2bc6877d
Fix typos in ChangeLogs and update copyright notices
2001-03-13 06:43:59 +00:00
Geoffrey Keating
8d72000704
* ar.c (main): Don't crash if called with no arguments
...
or only '-X32_64' as an argument.
2000-08-11 18:26:28 +00:00
Geoffrey Keating
6e8008398d
* nm.c (main): Ignore '-X32_64' as an option.
...
* ar.c (main): Likewise.
* binutils.texi (nm): Document new option.
(ar): Likewise.
2000-07-27 01:39:45 +00:00
Alan Modra
a0c0ddf7e8
Revert incorrect 2000-06-25 patch.
2000-06-26 23:15:58 +00:00
Nick Clifton
307ff1df12
Advance past both parts of dos based <letter>: filepath prefix.
2000-06-25 16:30:27 +00:00
Alan Modra
2ab47eed68
Correct pointer comparisons relying on NULL less than any other pointer.
...
Alexander Aganichev's fix for ieee.c
2000-06-20 12:33:21 +00:00
Nick Clifton
58781cd0ba
Improve verbose message
2000-06-19 01:09:55 +00:00
Alan Modra
5af11cab92
Eli Zaretskii's DOSish file name patches.
2000-05-26 13:11:57 +00:00
Alan Modra
37cc8ec1be
A mostly cosmetic tidy up of warnings and error message reporting.
2000-04-07 04:34:50 +00:00
Alan Modra
8ad3436c79
Move translated part of bug report string back into .c files so
...
xgettext can find it. Regnerate .pot files.
2000-04-04 14:32:35 +00:00
Alan Modra
c20f4f8c21
Move bug report string to one place.
2000-04-03 14:10:05 +00:00
Ian Lance Taylor
b059661ec6
* ar.c (normalize): Fix full_pathname code.
1999-10-15 16:50:47 +00:00
Ian Lance Taylor
a20a10a650
* ar.c (main): Clear output_file if we don't change the archive.
...
(delete_members, replace_members): Likewise.
1999-09-12 19:00:11 +00:00
Ian Lance Taylor
3de3906459
1999-09-12 Donn Terry <donn@interix.com>
...
* ar.c (counted_name_mode): New static variable.
(counted_name_counter): New static variable.
(map_over_members): Handle counted mode.
(usage): Mention N modifier.
(main): Handle N modifier.
(delete_members): Handle counted mode.
* binutils.texi, ar.1: Document N modifier.
1999-09-12 18:14:07 +00:00
Ian Lance Taylor
946d15cab8
1999-09-12 Donn Terry <donn@interix.com>
...
* ar.c (print_contents): Change printing of member name for
POSIX.2 conformance.
1999-09-12 17:47:19 +00:00
Ian Lance Taylor
c8446de592
1999-09-12 Donn Terry <donn@interix.com>
...
* ar.c (output_filename): Make const.
(open_inarch): If creating a new empty archive, set
output_filename.
1999-09-12 17:43:21 +00:00
Ian Lance Taylor
fe84ea5db2
* ar.c (full_pathname): New static variable.
...
(map_over_members): Call normalize on command line parameter.
(usage): Mention P modifier.
(normalize): If full_pathname is true, don't do anything.
(main): Accept P modifier.
* binutils.texi, ar.1: Document P modifier.
1999-09-12 17:34:19 +00:00
Ian Lance Taylor
d84feeaca5
* ar.c (O_BINARY): Define as 0 if not defined.
...
(ranlib_touch): Open file with O_BINARY.
1999-06-12 16:07:57 +00:00
Richard Henderson
252b5132c7
19990502 sourceware import
1999-05-03 07:29:11 +00:00