aboutsummaryrefslogtreecommitdiff
path: root/binutils/objcopy.c
AgeCommit message (Collapse)AuthorFilesLines
2003-08-05 * objcopy.c: Remove unnecessary prototypes and casts.Alan Modra1-121/+67
* 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-07-23Tidy up code. Switch to ISO CNick Clifton1-198/+138
2003-06-27Fix --add-gnu-debuglinkNick Clifton1-1/+17
2003-06-26Add --only-keep-debug switchNick Clifton1-3/+28
2003-06-12Add new switch to objcopy: --add-gnu-debuglink=<file>Nick Clifton1-70/+72
Allows packages to be shipped in two forms, a stripped executable and debug info file.
2003-06-02* objcopy.c (redefine_list_append): Add an argument thatJason Thorpe1-8/+125
indicates the context from which this function is being called. Change all callers. (copy_options): Add a new option, --redefine-syms. (copy_usage): Document new option. (copy_main): Handle the --redefine-syms option. * doc/binutils.text (objcopy): Document new option.
2003-05-13Treat identical src/dst file names as if only one entered. One WindowsNick Clifton1-3/+4
creating an output file of the same name as the input file will delete the input file before it is read.
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.