aboutsummaryrefslogtreecommitdiff
path: root/binutils/objcopy.c
AgeCommit message (Collapse)AuthorFilesLines
2003-03-24Add --info command line switchNick Clifton1-5/+34
2003-02-21 * objcopy.c (filter_symbols): Fix compilation problems withAlan Modra1-7/+12
HP-UX's C compiler.
2002-12-13Added --prefix-symbols <prefix> option to rename all symbols by adding theNick Clifton1-46/+112
given prefix to the begining of the symbol name. This is useful to provide name space seperation regardless of how the object file was created. Added --prefix-sections <prefix> and --prefix-alloc-sections <prefix> options to rename all sections (or all sections with the alloc flag set) by adding the given prefix to the begining of the symbol name.
2002-11-30s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. SimplifyAlan Modra1-119/+141
comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
2002-10-15 * objcopy.c (copy_file): Report ambiguous bfd_object matches, andAlan Modra1-7/+28
other object errors in preference to bfd_core errors.
2002-08-132002-08-13 H.J. Lu <hjl@gnu.org>H.J. Lu1-1/+3
* objcopy.c (copy_object): Don't warn about the unsupported architecture unless the input target is defaulted or the output architecture is different from the input.
2002-06-05 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.Alan Modra1-1/+6
2002-05-21 * filemode.c: Fix formatting.Kazu Hirata1-44/+44
* ieee.c: Likewise. * is-ranlib.c: Likewise. * is-strip.c: Likewise. * maybe-ranlib.c: Likewise. * maybe-strip.c: Likewise. * nlmconv.c: Likewise. * nm.c: Likewise. * not-ranlib.c: Likewise. * not-strip.c: Likewise. * objcopy.c: Likewise. * objdump.c: Likewise.
2002-02-11 * configure: Regenerate.Alan Modra1-1/+1
* objcopy.c: Update copyright date. * doc/Makefile.in: Regenerate.
2002-02-11 * objcopy.c (MKDIR): Define.Alan Modra1-12/+41
(copy_archive): Make name_list.name const. Use MKDIR. Handle duplicate files in archives by making more temp dirs.
2002-01-25Add --totals option to sizeNick Clifton1-1/+1
2002-01-23Tidy up formatting of --help output.Nick Clifton1-10/+14
2002-01-15Refer to "options" not "switches"Nick Clifton1-4/+4
2001-12-192001-12-18 Michael Snyder <msnyder@redhat.com>Michael Snyder1-8/+20
* objcopy.c (copy_file): Accept corefiles (format bfd_core). (copy_object): Don't set the start address or flags of a core file. (copy_section): Don't relocate a core file. Don't copy contents if the input section has the contents flag set, but the output section does not (which happens with the fake 'note' pseudo- sections that BFD creates for corefiles).
2001-12-18 * objcopy.c (copy_archive): Set output bfd format outside the loop.Alan Modra1-3/+3
2001-12-18 * addr2line.c (main): Protoype.Thiemo Seufer1-0/+2
* 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-10 * objcopy.c (setup_section): Copy entsize.Jakub Jelinek1-0/+3
2001-11-29 * objcopy.c (setup_section): Preserve SEC_RELOC whenMike Stump1-1/+1
--set-section-flags is used.
2001-09-19 * objcopy.c (copy_main): Correct rename-section string parsing.Alan Modra1-24/+20
Consolidate new_name parsing, and error messages.
2001-09-19Locale changes from Bruno Haible <haible@clisp.cons.org>.H.J. Lu1-0/+3
2001-08-24* objcopy.c (use_alt_mach_code): New variable.Alexandre Oliva1-0/+21
(OPTION_ALT_MACH_CODE): Define. (copy_options): Added --alt-machine-code. (copy_main): Handle it. (copy_object): Switch to alternate machine code if requested. * doc/binutils.texi: Document new option. * NEWS: Likewise.
2001-07-31Implement new switch --rename-sectionNick Clifton1-51/+170
2001-07-06And remove the seconf accidental patch commission.Nick Clifton1-26/+0
2001-07-06Remove patch accidentally checked in with readelf.c patchNick Clifton1-14/+6
2001-07-05Display the contents of a .debug.macinfo sectionNick Clifton1-11/+43
2001-07-052001-07-05 H.J. Lu <hjl@gnu.org>H.J. Lu1-3/+6
* objcopy.c (filter_symbols): Don't turn undefined symbols into local.
2001-06-242001-06-24 H.J. Lu <hjl@gnu.org>H.J. Lu1-2/+2
* 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-22Add missing support for -o option.Nick Clifton1-3/+8
2001-05-30Add command line switches to objcopy to provide lists of symbols in filesNick Clifton1-3/+172
2001-03-13Fix typos in ChangeLogs and update copyright noticesNick Clifton1-1/+2
2001-03-13Add --binary-architecture switch to objcopy to allow the output architectureNick Clifton1-4/+32
to be set when the input file type is binary.
2001-01-18Stop objcopy trying to convert endianness.Nick Clifton1-1/+8
2000-11-03Add --srec-len and --srec-forceS3 switches to objcopyNick Clifton1-0/+22
2000-08-14Silently accept -d as an alias for -g for compatability with old BSD systems.Nick Clifton1-1/+2
2000-05-26Eli Zaretskii's DOSish file name patches.Alan Modra1-2/+11
2000-05-142000-05-14 H.J. Lu (hjl@gnu.org)H.J. Lu1-0/+5
* objcopy.c (filter_symbols): Don't strip global symbols in relocatable object files.
2000-05-08(setup_section): Add const and gettext calls for err.Alan Modra1-7/+7
2000-04-05Add --redefine-sym to objcopy.Alan Modra1-44/+196
2000-04-04Move translated part of bug report string back into .c files soAlan Modra1-2/+2
xgettext can find it. Regnerate .pot files.
2000-04-03Move bug report string to one place.Alan Modra1-2/+2
1999-11-22Overhaul --help output.Nick Clifton1-31/+65
1999-09-121999-09-12 Donn Terry <donn@interix.com>Ian Lance Taylor1-1/+4
* objcopy.c (parse_flags): Handle "noload", "debug", and "share". * binutils.texi, objcopy.1: Document new flags.
1999-07-11 * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSEDIan Lance Taylor1-10/+16
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-06-12 Based on patch from H. Peter Anvin <hpa@transmeta.com>:Ian Lance Taylor1-7/+32
* 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-05-27 * objcopy.c (copy_archive): Preserve dates of archive members ifAndreas Schwab1-0/+13
requested.
1999-05-0319990502 sourceware importbinu_ss_19990502Richard Henderson1-0/+2029