* config/tc-mips.c: Use USE_STDARG and USE_VARARGS instead of NO_STDARG &c.
authorKen Raeburn <raeburn@cygnus>
Tue, 2 May 1995 19:33:00 +0000 (19:33 +0000)
committerKen Raeburn <raeburn@cygnus>
Tue, 2 May 1995 19:33:00 +0000 (19:33 +0000)
commit1dc1e7989f7fcb9589f4fa8d470f7d9d08dce8e0
tree608de255cb3a46c9d7380558219843144c26869f
parent2209b19c4edfad132bd94a4097485d2f199f1f79
* config/tc-mips.c: Use USE_STDARG and USE_VARARGS instead of NO_STDARG &c.

* config/tc-mips.c (mips_target_format): Changed to a function, checking flavor
and byte order at run time.
(md_parse_option, cases OPTION_EB and OPTION_EL): Set target_big_endian here.
(md_begin): Not here.
* config/tc-mips.h (mips_target_format): Adjust declaration.
(TARGET_FORMAT): Call mips_target_format.

* config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Define in terms of OUTPUT_FLAVOR.
* config/tc-mips.c (g_switch_value, g_switch_seen): Define unconditionally.
(md_begin, mips_ip, md_parse_option, s_change_sec, s_option, s_abicalls,
nopic_need_relax): Check USE_GLOBAL_POINTER_OPT at run time, instead of
compiling conditionally on GPOPT.
(GPOPT): Don't define.
(md_shortopts): Always include -G.
(RDATA_SECTION_NAME): Select at run time.
(md_begin): Test for ELF format at run time instead of compile time.
(mips_ip, s_change_sec): Ditto.
(md_parse_option, cases OPTION_CALL_SHARED and OPTION_NON_SHARED): Ditto.
(OPTION_CALL_SHARED, OPTION_NON_SHARED, mips_regmask_frag): Define
unconditionally.
gas/config/tc-mips.c
gas/config/tc-mips.h