mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 10:34:21 +08:00
* config/tc-mips.c (md_longopts): Rename mips-16 to mips16, and
no-mips-16 to no-mips16. (s_mipsset): Accept .set mips16 and .set nomips16.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
Wed Dec 4 13:00:07 1996 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
|
* config/tc-mips.c (md_longopts): Rename mips-16 to mips16, and
|
||||||
|
no-mips-16 to no-mips16.
|
||||||
|
(s_mipsset): Accept .set mips16 and .set nomips16.
|
||||||
|
|
||||||
Wed Dec 4 10:35:33 1996 Michael Meissner <meissner@tiktok.cygnus.com>
|
Wed Dec 4 10:35:33 1996 Michael Meissner <meissner@tiktok.cygnus.com>
|
||||||
|
|
||||||
* config/tc-ppc.c (ppc_elf_suffix): Take expressionS pointer
|
* config/tc-ppc.c (ppc_elf_suffix): Take expressionS pointer
|
||||||
|
@ -7465,9 +7465,9 @@ struct option md_longopts[] = {
|
|||||||
#define OPTION_NO_M4100 (OPTION_MD_BASE + 18)
|
#define OPTION_NO_M4100 (OPTION_MD_BASE + 18)
|
||||||
{"no-m4100", no_argument, NULL, OPTION_NO_M4100},
|
{"no-m4100", no_argument, NULL, OPTION_NO_M4100},
|
||||||
#define OPTION_MIPS16 (OPTION_MD_BASE + 22)
|
#define OPTION_MIPS16 (OPTION_MD_BASE + 22)
|
||||||
{"mips-16", no_argument, NULL, OPTION_MIPS16},
|
{"mips16", no_argument, NULL, OPTION_MIPS16},
|
||||||
#define OPTION_NO_MIPS16 (OPTION_MD_BASE + 23)
|
#define OPTION_NO_MIPS16 (OPTION_MD_BASE + 23)
|
||||||
{"no-mips-16", no_argument, NULL, OPTION_NO_MIPS16},
|
{"no-mips16", no_argument, NULL, OPTION_NO_MIPS16},
|
||||||
|
|
||||||
#define OPTION_CALL_SHARED (OPTION_MD_BASE + 7)
|
#define OPTION_CALL_SHARED (OPTION_MD_BASE + 7)
|
||||||
#define OPTION_NON_SHARED (OPTION_MD_BASE + 8)
|
#define OPTION_NON_SHARED (OPTION_MD_BASE + 8)
|
||||||
@ -8672,6 +8672,12 @@ s_mipsset (x)
|
|||||||
{
|
{
|
||||||
mips_nobopt = 1;
|
mips_nobopt = 1;
|
||||||
}
|
}
|
||||||
|
else if (strcmp (name, "mips16") == 0
|
||||||
|
|| strcmp (name, "MIPS-16") == 0)
|
||||||
|
mips16 = 1;
|
||||||
|
else if (strcmp (name, "nomips16") == 0
|
||||||
|
|| strcmp (name, "noMIPS-16") == 0)
|
||||||
|
mips16 = 0;
|
||||||
else if (strncmp (name, "mips", 4) == 0)
|
else if (strncmp (name, "mips", 4) == 0)
|
||||||
{
|
{
|
||||||
int isa;
|
int isa;
|
||||||
@ -8686,10 +8692,6 @@ s_mipsset (x)
|
|||||||
else
|
else
|
||||||
mips_isa = isa;
|
mips_isa = isa;
|
||||||
}
|
}
|
||||||
else if (strcmp (name, "MIPS-16") == 0)
|
|
||||||
mips16 = 1;
|
|
||||||
else if (strcmp (name, "noMIPS-16") == 0)
|
|
||||||
mips16 = 0;
|
|
||||||
else if (strcmp (name, "autoextend") == 0)
|
else if (strcmp (name, "autoextend") == 0)
|
||||||
mips16_autoextend = 1;
|
mips16_autoextend = 1;
|
||||||
else if (strcmp (name, "noautoextend") == 0)
|
else if (strcmp (name, "noautoextend") == 0)
|
||||||
@ -8922,8 +8924,8 @@ md_section_align (seg, addr)
|
|||||||
/* We don't need to align ELF sections to the full alignment.
|
/* We don't need to align ELF sections to the full alignment.
|
||||||
However, Irix 5 may prefer that we align them at least to a 16
|
However, Irix 5 may prefer that we align them at least to a 16
|
||||||
byte boundary. */
|
byte boundary. */
|
||||||
if (align > 16)
|
if (align > 4)
|
||||||
align = 16;
|
align = 4;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return ((addr + (1 << align) - 1) & (-1 << align));
|
return ((addr + (1 << align) - 1) & (-1 << align));
|
||||||
|
Reference in New Issue
Block a user