From: Nick Clifton Date: Wed, 3 Nov 1999 18:16:52 +0000 (+0000) Subject: Chnage the default endianness for mcore to little X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7e301c9cbd617e7356093766861258f4afb8a00b;p=binutils-gdb.git Chnage the default endianness for mcore to little --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 4955c13320b..bf9f27bb014 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -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 diff --git a/binutils/dlltool.c b/binutils/dlltool.c index 908f798096d..23206a6209f 100644 --- a/binutils/dlltool.c +++ b/binutils/dlltool.c @@ -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 \n"), program_name); /* xgetext:c-format */ fprintf (file, _(" -m --machine Create as DLL for . [default: %s]\n"), mname); - fprintf (file, _(" possible : arm[_interwork], i386, mcore[-elf][-le], ppc, thumb\n")); + fprintf (file, _(" possible : arm[_interwork], i386, mcore[-elf]{-le|-be}, ppc, thumb\n")); fprintf (file, _(" -e --output-exp Generate an export file.\n")); fprintf (file, _(" -l --output-lib Generate an interface library.\n")); fprintf (file, _(" -a --add-indirect Add dll indirects to export file.\n"));