summaryrefslogtreecommitdiff
path: root/binutils/ar.c
Commit message (Collapse)AuthorAgeFilesLines
...
* * ar.c (mri_mode): Make static.Ben Elliston2005-04-291-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.
* update copyright datesAlan Modra2005-03-031-1/+1
|
* bfd/Jan Beulich2005-03-021-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.
* * dlltool.c (dump_iat): Remove unused function.Ben Elliston2005-01-211-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.
* * ar.c (extract_file): Set atime to mtime for ar xo.Jakub Jelinek2004-10-261-1/+6
|
* PR 363Nick Clifton2004-09-091-3/+2
| | | | | * ar.c (replace_members): Do not use get_file_size as ar_emul_append correctly handles missing files.
* * ar.c (main): Support POSIX-compatible argument parsing.Andreas Schwab2004-02-271-83/+100
| | | | | testsuite: * binutils-all/ar.exp (argument_parsing): New test.
* Use bfd_cache_close, instead of accessing bfd->iostream directly.Andrew Cagney2004-02-151-2/+2
|
* Emit a warning when an archive is created (only shown with -v) in order toNick Clifton2003-11-131-0/+2
| | | | confrom to POSIX specification.
* Remove "member" from verbose output of "-dv" in order to conform to POSIXNick Clifton2003-11-101-1/+1
| | | | specification.
* Use consistent error messages for missing files.Nick Clifton2003-11-071-1/+7
| | | | Detect directories where an ordinary file is expected.
* * ChangeLog: Fix typos.Kazu Hirata2003-10-271-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.
* * addr2line.c: Convert to ISO C90 prototypes, change PTR, removeAndreas Jaeger2003-09-141-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.
* s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. SimplifyAlan Modra2002-11-301-35/+35
| | | | comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
* * addr2line.c: Fix formatting.Kazu Hirata2002-05-191-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.
* * ar.c (replace_members): Remove unused var. Formatting fix.Alan Modra2002-05-041-2/+2
| | | | * binemul.c (ar_emul_default_parse_arg): Add ATTRIBUTE_UNUSED.
* Add AIX 64 shared library support and emulation layer for binutilsNick Clifton2002-03-181-58/+32
|
* Tidy up formatting of --help output.Nick Clifton2002-01-231-3/+12
|
* * addr2line.c (main): Protoype.Thiemo Seufer2001-12-181-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.
* Locale changes from Bruno Haible <haible@clisp.cons.org>.H.J. Lu2001-09-191-0/+3
|
* * ar.c (print_contents): Cast args of bfd_seek to the right types.Alan Modra2001-09-181-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.
* Fix typos in ChangeLogs and update copyright noticesNick Clifton2001-03-131-1/+1
|
* * ar.c (main): Don't crash if called with no argumentsGeoffrey Keating2000-08-111-1/+1
| | | | or only '-X32_64' as an argument.
* * nm.c (main): Ignore '-X32_64' as an option.Geoffrey Keating2000-07-271-1/+13
| | | | | | * ar.c (main): Likewise. * binutils.texi (nm): Document new option. (ar): Likewise.
* Revert incorrect 2000-06-25 patch.Alan Modra2000-06-261-2/+2
|
* Advance past both parts of dos based <letter>: filepath prefix.Nick Clifton2000-06-251-2/+2
|
* Correct pointer comparisons relying on NULL less than any other pointer.Alan Modra2000-06-201-3/+3
| | | | Alexander Aganichev's fix for ieee.c
* Improve verbose messageNick Clifton2000-06-191-1/+2
|
* Eli Zaretskii's DOSish file name patches.Alan Modra2000-05-261-16/+46
|
* A mostly cosmetic tidy up of warnings and error message reporting.Alan Modra2000-04-071-11/+7
|
* Move translated part of bug report string back into .c files soAlan Modra2000-04-041-1/+1
| | | | xgettext can find it. Regnerate .pot files.
* Move bug report string to one place.Alan Modra2000-04-031-1/+1
|
* * ar.c (normalize): Fix full_pathname code.Ian Lance Taylor1999-10-151-1/+1
|
* * ar.c (main): Clear output_file if we don't change the archive.Ian Lance Taylor1999-09-121-3/+11
| | | | (delete_members, replace_members): Likewise.
* 1999-09-12 Donn Terry <donn@interix.com>Ian Lance Taylor1999-09-121-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-12 Donn Terry <donn@interix.com>Ian Lance Taylor1999-09-121-2/+1
| | | | | * ar.c (print_contents): Change printing of member name for POSIX.2 conformance.
* 1999-09-12 Donn Terry <donn@interix.com>Ian Lance Taylor1999-09-121-1/+4
| | | | | | * ar.c (output_filename): Make const. (open_inarch): If creating a new empty archive, set output_filename.
* * ar.c (full_pathname): New static variable.Ian Lance Taylor1999-09-121-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.
* * ar.c (O_BINARY): Define as 0 if not defined.Ian Lance Taylor1999-06-121-1/+7
| | | | (ranlib_touch): Open file with O_BINARY.
* Initial revisionRichard Henderson1999-05-031-0/+1338