This is the mail archive of the gas2@sourceware.cygnus.com mailing list for the gas2 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Another binutils patch for binutils 2.9


This is used to speed up archive update when building glibc 2.


H.J.
-----
Sat Mar 21 22:09:06 1998  H.J. Lu  (hjl@gnu.org)

	* ar.c (usage): Add 'S'.

	* ar.1: Update for 'S'.

Sat Mar 21 20:57:14 1998  Zack Weinberg <zack@rabi.phys.columbia.edu>

	* ar.c (main): Add 'S' for disabling symbol-table generation.

Index: binutils/ar.1
===================================================================
RCS file: /home/work/cvs/gnu/binutils/binutils/ar.1,v
retrieving revision 1.1.1.3
retrieving revision 1.2
diff -u -r1.1.1.3 -r1.2
--- ar.1	1995/11/28 04:16:51	1.1.1.3
+++ ar.1	1998/03/25 17:09:12	1.2
@@ -416,6 +416,13 @@
 \|' on it.
 
 .TP
+.B S
+Forcibly disable symbol-table generation. You may use it to speed up
+the build of a large library with many steps. But you should run `\|\c
+.B ranlib\c
+\|' on it as the last step.
+
+.TP
 .B u
 Normally, \c
 .B ar r\c
Index: binutils/ar.c
===================================================================
RCS file: /home/work/cvs/gnu/binutils/binutils/ar.c,v
retrieving revision 1.1.1.15
retrieving revision 1.7
diff -u -r1.1.1.15 -r1.7
--- ar.c	1998/02/17 17:05:39	1.1.1.15
+++ ar.c	1998/03/25 17:09:13	1.7
@@ -225,7 +225,7 @@
   s = help ? stdout : stderr;
   if (! is_ranlib)
     fprintf (s, "\
-Usage: %s [-]{dmpqrtx}[abcilosuvV] [member-name] archive-file file...\n\
+Usage: %s [-]{dmpqrtx}[abcilosSuvV] [member-name] archive-file file...\n\
        %s -M [<mri-script]\n",
 	     program_name, program_name);
   else
@@ -447,6 +447,9 @@
 	  break;
 	case 's':
 	  write_armap = 1;
+	  break;
+	case 'S':
+	  write_armap = -1;
 	  break;
 	case 'u':
 	  newer_only = 1;