bfin.c (bfin_lib_id_given): New static variable.
* 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
This commit is contained in:
parent
6348db1ffc
commit
c8de0f3bab
|
@ -1,3 +1,10 @@
|
|||
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
|
||||
|
|
|
@ -69,6 +69,8 @@ static int arg_regs[] = FUNCTION_ARG_REGISTERS;
|
|||
|
||||
/* 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)
|
||||
|
@ -1725,6 +1727,7 @@ bfin_handle_option (size_t code, const char *arg, int value)
|
|||
arg, MAX_LIBRARY_ID);
|
||||
else
|
||||
bfin_library_id = value;
|
||||
bfin_lib_id_given = 1;
|
||||
return true;
|
||||
|
||||
default:
|
||||
|
|
|
@ -36,5 +36,5 @@ Target Report Mask(ID_SHARED_LIBRARY)
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue