Commit Graph

25 Commits

Author SHA1 Message Date
Nick Clifton 594ef5dbd2 Implement new switch --rename-section 2001-07-31 13:49:39 +00:00
Nick Clifton eed1d0acc7 And remove the seconf accidental patch commission. 2001-07-06 08:05:27 +00:00
Nick Clifton ec5d57d5e8 Remove patch accidentally checked in with readelf.c patch 2001-07-06 08:01:17 +00:00
Nick Clifton e0c60db230 Display the contents of a .debug.macinfo section 2001-07-05 07:49:05 +00:00
H.J. Lu 24e01a3675 2001-07-05 H.J. Lu <hjl@gnu.org>
* objcopy.c (filter_symbols): Don't turn undefined symbols
	into local.
2001-07-05 07:27:16 +00:00
H.J. Lu 6d900bf62c 2001-06-24 H.J. Lu <hjl@gnu.org>
* objcopy.c (strip_main): Revert the change made on 2001-05-30
	by accident.
	(copy_main): Apply the the change made to strip_main on
	2001-05-30 by accident.
2001-06-24 16:27:00 +00:00
Nick Clifton af3bdff753 Add missing support for -o option. 2001-06-22 09:02:05 +00:00
Nick Clifton 16b2b71c0c Add command line switches to objcopy to provide lists of symbols in files 2001-05-30 10:46:28 +00:00
Nick Clifton 8c2bc6877d Fix typos in ChangeLogs and update copyright notices 2001-03-13 06:43:59 +00:00
Nick Clifton 43a0748c78 Add --binary-architecture switch to objcopy to allow the output architecture
to be set when the input file type is binary.
2001-03-13 00:08:35 +00:00
Nick Clifton 23719f397d Stop objcopy trying to convert endianness. 2001-01-18 00:17:43 +00:00
Nick Clifton 420496c13a Add --srec-len and --srec-forceS3 switches to objcopy 2000-11-03 01:47:13 +00:00
Nick Clifton db4f683116 Silently accept -d as an alias for -g for compatability with old BSD systems. 2000-08-14 19:47:01 +00:00
Alan Modra 5af11cab92 Eli Zaretskii's DOSish file name patches. 2000-05-26 13:11:57 +00:00
H.J. Lu d812147943 2000-05-14 H.J. Lu (hjl@gnu.org)
* objcopy.c (filter_symbols): Don't strip global symbols in
	relocatable object files.
2000-05-14 17:13:16 +00:00
Alan Modra 1a89cc7d7e (setup_section): Add const and gettext calls for err. 2000-05-08 04:28:06 +00:00
Alan Modra 57938635f5 Add --redefine-sym to objcopy. 2000-04-05 03:43:56 +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
Nick Clifton d5bcb29dda Overhaul --help output. 1999-11-22 09:42:42 +00:00
Ian Lance Taylor 3994e2c66d 1999-09-12 Donn Terry <donn@interix.com>
* objcopy.c (parse_flags): Handle "noload", "debug", and "share".
	* binutils.texi, objcopy.1: Document new flags.
1999-09-12 18:33:05 +00:00
Ian Lance Taylor b4c96d0d37 * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
as appropriate.  Add variable initializations.  Add casts.
	* objdump.c (disassemble_bytes): Change j to bfd_vma.
	* readelf.c (process_syminfo): Change i to unsigned int.
	(display_debug_info): Change abbrev_number to unsigned long.
	(process_mips_specific): Change fcnt to size_t.
1999-07-11 20:02:30 +00:00
Ian Lance Taylor f91ea84976 Based on patch from H. Peter Anvin <hpa@transmeta.com>:
* objcopy.c (struct section_list): Add copy field.
	(sections_copied): New static variable.
	(copy_options): Add "only-section".
	(copy_usage): Mention -j and --only-section.
	(find_section_list): Initialize copy field.
	(is_strip_section): Check for copying sections.
	(copy_object): Check sections_copied when calling filter_symbols.
	(setup_section): Check for copying sections.
	(copy_section): Likewise.
	(copy_main): Handle -j/--only-section.
	* binutils.texi, objcopy.1: Document -j/--only-section.
1999-06-12 15:42:04 +00:00
Andreas Schwab 8066d1a283 * objcopy.c (copy_archive): Preserve dates of archive members if
requested.
1999-05-27 03:16:15 +00:00
Richard Henderson 252b5132c7 19990502 sourceware import 1999-05-03 07:29:11 +00:00