aboutsummaryrefslogtreecommitdiff
path: root/binutils/ar.c
AgeCommit message (Collapse)AuthorFilesLines
2005-10-03 * addr2line.c (usage): Document @file.Mark Mitchell1-1/+3
* ar.c (usage): Likewise. * coffdump (usage): Likewise. * cxxfilt.c (usage): Likewise. * dlltool.c (usage): Likewise. * dllwrap.c (usage): Likewise. * nlmconv.c (usage): Likewise. * nm.c (usage): Likewise. * objcopy.c (usage): Likewise. * objdump.c (usage): Likewise. * readelf.c (usage): Likewise. * size.c (usage): Likeise. * srconv.c (usage): Likewise. * strings.c (usage): Likewise. * windres.c (usage): Likewise. * doc/binutils.texi: Add section on common options.
2005-09-30 * addr2line.c (main): Likewise.Mark Mitchell1-0/+2
* ar.c (main): Likewise. * coffdump.c (main): Likewise. * cxxfilt.c (main): Likewise. * dlltool.c (main): Likewise. * dllwrap.c (main): Likewise. * nlmconv.c (main): Likewise. * nm.c (main): Likewise. * objcopy.c (main): Likewise. * objdump.c (main): Likewise. * readelf.c (main): Likewise. * size.c (main): Likeiwse. * srcconv.c (main): Likewise. * strings.c (main): Likewise. * sysdump.c (main): Likewise. * sysinfo.c (main): Likewise. * windres.c (main): Likewise. * ldmain.c (main): Use expandargv. * gprof.c (main): Use expandargv. * as.c (main): Use expandargv.
2005-06-142005-06-14 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-2/+0
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-05-08Update FSF addressNick Clifton1-1/+1
2005-04-29 * ar.c (mri_mode): Make static.Ben Elliston1-1/+1
* 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-03-03update copyright datesAlan Modra1-1/+1
2005-03-02bfd/Jan Beulich1-1/+1
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-01-21 * dlltool.c (dump_iat): Remove unused function.Ben Elliston1-157/+4
(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.
2004-10-26 * ar.c (extract_file): Set atime to mtime for ar xo.Jakub Jelinek1-1/+6
2004-09-09PR 363Nick Clifton1-3/+2
* ar.c (replace_members): Do not use get_file_size as ar_emul_append correctly handles missing files.
2004-02-27 * ar.c (main): Support POSIX-compatible argument parsing.Andreas Schwab1-83/+100
testsuite: * binutils-all/ar.exp (argument_parsing): New test.
2004-02-15Use bfd_cache_close, instead of accessing bfd->iostream directly.Andrew Cagney1-2/+2
2003-11-13Emit a warning when an archive is created (only shown with -v) in order toNick Clifton1-0/+2
confrom to POSIX specification.
2003-11-10Remove "member" from verbose output of "-dv" in order to conform to POSIXNick Clifton1-1/+1
specification.
2003-11-07Use consistent error messages for missing files.Nick Clifton1-1/+7
Detect directories where an ordinary file is expected.
2003-10-27 * ChangeLog: Fix typos.Kazu Hirata1-3/+3
* 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-09-14 * addr2line.c: Convert to ISO C90 prototypes, change PTR, removeAndreas Jaeger1-91/+38
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.
2002-11-30s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. SimplifyAlan Modra1-35/+35
comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
2002-05-19 * addr2line.c: Fix formatting.Kazu Hirata1-21/+21
* 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-04 * ar.c (replace_members): Remove unused var. Formatting fix.Alan Modra1-2/+2
* binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
2002-03-18Add AIX 64 shared library support and emulation layer for binutilsNick Clifton1-58/+32
2002-01-23Tidy up formatting of --help output.Nick Clifton1-3/+12
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-09-19Locale changes from Bruno Haible <haible@clisp.cons.org>.H.J. Lu1-0/+3
2001-09-18 * ar.c (print_contents): Cast args of bfd_seek to the right types.Alan Modra1-6/+6
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-03-13Fix typos in ChangeLogs and update copyright noticesNick Clifton1-1/+1
2000-08-11* ar.c (main): Don't crash if called with no argumentsGeoffrey Keating1-1/+1
or only '-X32_64' as an argument.
2000-07-27* nm.c (main): Ignore '-X32_64' as an option.Geoffrey Keating1-1/+13
* ar.c (main): Likewise. * binutils.texi (nm): Document new option. (ar): Likewise.
2000-06-26Revert incorrect 2000-06-25 patch.Alan Modra1-2/+2
2000-06-25Advance past both parts of dos based <letter>: filepath prefix.Nick Clifton1-2/+2
2000-06-20Correct pointer comparisons relying on NULL less than any other pointer.Alan Modra1-3/+3
Alexander Aganichev's fix for ieee.c
2000-06-19Improve verbose messageNick Clifton1-1/+2
2000-05-26Eli Zaretskii's DOSish file name patches.Alan Modra1-16/+46
2000-04-07A mostly cosmetic tidy up of warnings and error message reporting.Alan Modra1-11/+7
2000-04-04Move translated part of bug report string back into .c files soAlan Modra1-1/+1
xgettext can find it. Regnerate .pot files.
2000-04-03Move bug report string to one place.Alan Modra1-1/+1
1999-10-15 * ar.c (normalize): Fix full_pathname code.Ian Lance Taylor1-1/+1
1999-09-12 * ar.c (main): Clear output_file if we don't change the archive.Ian Lance Taylor1-3/+11
(delete_members, replace_members): Likewise.
1999-09-121999-09-12 Donn Terry <donn@interix.com>Ian Lance Taylor1-16/+61
* 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-121999-09-12 Donn Terry <donn@interix.com>Ian Lance Taylor1-2/+1
* ar.c (print_contents): Change printing of member name for POSIX.2 conformance.
1999-09-121999-09-12 Donn Terry <donn@interix.com>Ian Lance Taylor1-1/+4
* ar.c (output_filename): Make const. (open_inarch): If creating a new empty archive, set output_filename.
1999-09-12 * ar.c (full_pathname): New static variable.Ian Lance Taylor1-1/+13
(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-06-12 * ar.c (O_BINARY): Define as 0 if not defined.Ian Lance Taylor1-1/+7
(ranlib_touch): Open file with O_BINARY.
1999-05-0319990502 sourceware importbinu_ss_19990502Richard Henderson1-0/+1338