Commit c8de0f3b by Bernd Schmidt Committed by Bernd Schmidt

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
parent 6348db1f
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment