* config/bfin/bfin.c (bfin_lib_id_given): New static variable.
(bfin_handle_options): Set it if -mshared-library-id= is seen.
* config/bfin/bfin.opt (mshared-library-id=): Lose
Var(bfin_lib_id_given).
From-SVN: r98077
+2005-04-13 Bernd Schmidt <bernd.schmidt@analog.com>
+
+ * config/bfin/bfin.c (bfin_lib_id_given): New static variable.
+ (bfin_handle_options): Set it if -mshared-library-id= is seen.
+ * config/bfin/bfin.opt (mshared-library-id=): Lose
+ Var(bfin_lib_id_given).
+
2005-04-13 Matt Thomas <matt@3am-software.com>
* config/rs6000/sysv4.h (NO_IMPLICIT_EXTERN_C): undefine before
/* The value passed to -mshared-library-id=. */
static int bfin_library_id;
+/* Nonzero if -mshared-library-id was given. */
+static int bfin_lib_id_given;
static void
bfin_globalize_label (FILE *stream, const char *name)
arg, MAX_LIBRARY_ID);
else
bfin_library_id = value;
+ bfin_lib_id_given = 1;
return true;
default:
Enabled ID based shared library
mshared-library-id=
-Target RejectNegative Joined UInteger Var(bfin_lib_id_given)
+Target RejectNegative Joined UInteger
ID of shared library to build