Commit Graph

23 Commits

Author SHA1 Message Date
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