Chnage the default endianness for mcore to little

This commit is contained in:
Nick Clifton 1999-11-03 18:16:52 +00:00
parent f932f8e1da
commit 7e301c9cbd
2 changed files with 6 additions and 4 deletions

View File

@ -2,6 +2,8 @@
* dlltool.c (flush_page): Clip short values to prevent warnings
from the assembler.
Change default mcore machine name to 'mcore-le' and rename
big-endian version to 'mcore-be'.
1999-10-27 Fred Fish <fnf@cygnus.com>

View File

@ -391,7 +391,7 @@ static const char *mname = "ppc";
#endif
#ifdef DLLTOOL_MCORE
static const char * mname = "mcore";
static const char * mname = "mcore-le";
#endif
#ifdef DLLTOOL_MCORE_ELF
@ -553,7 +553,7 @@ mtable[] =
,
{
#define MMCORE_BE 5
"mcore", ".byte", ".short", ".long", ".asciz", "//",
"mcore-be", ".byte", ".short", ".long", ".asciz", "//",
"jmpi\t1\n\tnop\n\t.long",
".global", ".space", ".align\t2",".align\t4", "",
"pe-mcore-big", bfd_arch_mcore,
@ -571,7 +571,7 @@ mtable[] =
,
{
#define MMCORE_ELF 7
"mcore-elf", ".byte", ".short", ".long", ".asciz", "//",
"mcore-elf-be", ".byte", ".short", ".long", ".asciz", "//",
"jmpi\t1\n\tnop\n\t.long",
".global", ".space", ".align\t2",".align\t4", "",
"elf32-mcore-big", bfd_arch_mcore,
@ -3093,7 +3093,7 @@ usage (file, status)
fprintf (file, _("Usage %s <options> <object-files>\n"), program_name);
/* xgetext:c-format */
fprintf (file, _(" -m --machine <machine> Create as DLL for <machine>. [default: %s]\n"), mname);
fprintf (file, _(" possible <machine>: arm[_interwork], i386, mcore[-elf][-le], ppc, thumb\n"));
fprintf (file, _(" possible <machine>: arm[_interwork], i386, mcore[-elf]{-le|-be}, ppc, thumb\n"));
fprintf (file, _(" -e --output-exp <outname> Generate an export file.\n"));
fprintf (file, _(" -l --output-lib <outname> Generate an interface library.\n"));
fprintf (file, _(" -a --add-indirect Add dll indirects to export file.\n"));