MIPS/LD: Convert ELF linker emulation option macros to an enum
ld/ * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
This commit is contained in:
parent
a3dc0a7f65
commit
2f2da8fd3f
2 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
|
||||
|
||||
* emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
|
||||
OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
|
||||
|
||||
2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
|
||||
|
||||
* testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
|
||||
|
|
|
@ -250,8 +250,11 @@ EOF
|
|||
# parse_args and list_options functions.
|
||||
#
|
||||
PARSE_AND_LIST_PROLOGUE='
|
||||
#define OPTION_INSN32 301
|
||||
#define OPTION_NO_INSN32 (OPTION_INSN32 + 1)
|
||||
enum
|
||||
{
|
||||
OPTION_INSN32 = 301,
|
||||
OPTION_NO_INSN32
|
||||
};
|
||||
'
|
||||
|
||||
PARSE_AND_LIST_LONGOPTS='
|
||||
|
|
Loading…
Reference in a new issue