From 7e301c9cbd617e7356093766861258f4afb8a00b Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 3 Nov 1999 18:16:52 +0000 Subject: [PATCH] Chnage the default endianness for mcore to little --- binutils/ChangeLog | 2 ++ binutils/dlltool.c | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 4955c13320..bf9f27bb01 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 908f798096..23206a6209 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"));