aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1999-11-03 18:16:52 +0000
committerNick Clifton <nickc@redhat.com>1999-11-03 18:16:52 +0000
commit7e301c9cbd617e7356093766861258f4afb8a00b (patch)
treefbc7bbed7805ac8a3d237758b9cc749b7fd41c20
parentf932f8e1da06ea6a5c7e5a9a8dc53af6db8e36fe (diff)
downloadfsf-binutils-gdb-7e301c9cbd617e7356093766861258f4afb8a00b.zip
fsf-binutils-gdb-7e301c9cbd617e7356093766861258f4afb8a00b.tar.gz
fsf-binutils-gdb-7e301c9cbd617e7356093766861258f4afb8a00b.tar.bz2
Chnage the default endianness for mcore to little
-rw-r--r--binutils/ChangeLog2
-rw-r--r--binutils/dlltool.c8
2 files changed, 6 insertions, 4 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 4955c13..bf9f27b 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 <fnf@cygnus.com>
diff --git a/binutils/dlltool.c b/binutils/dlltool.c
index 908f798..23206a6 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 <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"));