Add missing support for arm-epoc-pe.

This commit is contained in:
Nick Clifton 2000-12-19 22:22:02 +00:00
parent a969366f78
commit a8c548cb0c
8 changed files with 588 additions and 515 deletions

View File

@ -1,3 +1,9 @@
2000-12-19 Nick Clifton <nickc@redhat.com>
* dlltool.c: Add missing support for arm-epoc-pe.
* configure.in: Add missing support for arm-epoc-pe.
* configure: Regenerate.
2000-12-15 Nick Clifton <nickc@redhat.com> 2000-12-15 Nick Clifton <nickc@redhat.com>
* MAINTAINERS: Add Diego Novillo as a maintainer for the Intel * MAINTAINERS: Add Diego Novillo as a maintainer for the Intel

View File

@ -81,6 +81,8 @@ DEMANGLER_NAME = @DEMANGLER_NAME@
DLLTOOL = @DLLTOOL@ DLLTOOL = @DLLTOOL@
DLLTOOL_DEFS = @DLLTOOL_DEFS@ DLLTOOL_DEFS = @DLLTOOL_DEFS@
EXEEXT = @EXEEXT@ EXEEXT = @EXEEXT@
GCJ = @GCJ@
GCJFLAGS = @GCJFLAGS@
GMOFILES = @GMOFILES@ GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@ GMSGFMT = @GMSGFMT@
GT_NO = @GT_NO@ GT_NO = @GT_NO@

18
binutils/aclocal.m4 vendored
View File

@ -27,6 +27,24 @@ AC_DEFUN([CY_WITH_NLS],)
AC_SUBST(INTLLIBS) AC_SUBST(INTLLIBS)
]) ])
#serial 1
# This test replaces the one in autoconf.
# Currently this macro should have the same name as the autoconf macro
# because gettext's gettext.m4 (distributed in the automake package)
# still uses it. Otherwise, the use in gettext.m4 makes autoheader
# give these diagnostics:
# configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
# configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX
undefine([AC_ISC_POSIX])
AC_DEFUN(AC_ISC_POSIX,
[
dnl This test replaces the obsolescent AC_ISC_POSIX kludge.
AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])
]
)
# Do all the work for Automake. This macro actually does too much -- # Do all the work for Automake. This macro actually does too much --
# some checks are only needed if your package does certain things. # some checks are only needed if your package does certain things.
# But this isn't really a big deal. # But this isn't really a big deal.

View File

@ -28,9 +28,6 @@
/* Define to `long' if <sys/types.h> doesn't define. */ /* Define to `long' if <sys/types.h> doesn't define. */
#undef off_t #undef off_t
/* Define if you need to in order for stat and other things to work. */
#undef _POSIX_SOURCE
/* Define to `unsigned' if <sys/types.h> doesn't define. */ /* Define to `unsigned' if <sys/types.h> doesn't define. */
#undef size_t #undef size_t

912
binutils/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -204,6 +204,11 @@ changequote([,])dnl
*-*-hms*) BUILD_SRCONV='$(SRCONV_PROG)' ;; *-*-hms*) BUILD_SRCONV='$(SRCONV_PROG)' ;;
esac esac
case $targ in case $targ in
arm-epoc-pe*)
BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM_EPOC -DDLLTOOL_ARM"
BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
;;
arm-*pe* | arm-*-wince) arm-*pe* | arm-*-wince)
BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)' BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM" DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM"

View File

@ -383,8 +383,12 @@ static FILE *output_def;
static FILE *base_file; static FILE *base_file;
#ifdef DLLTOOL_ARM #ifdef DLLTOOL_ARM
#ifdef DLLTOOL_ARM_EPOC
static const char *mname = "arm-epoc";
#else
static const char *mname = "arm"; static const char *mname = "arm";
#endif #endif
#endif
#ifdef DLLTOOL_I386 #ifdef DLLTOOL_I386
static const char *mname = "i386"; static const char *mname = "i386";
@ -605,7 +609,7 @@ mtable[] =
, ,
{ {
#define MARM_EPOC 9 #define MARM_EPOC 9
"arm", ".byte", ".short", ".long", ".asciz", "@", "arm-epoc", ".byte", ".short", ".long", ".asciz", "@",
"ldr\tip,[pc]\n\tldr\tpc,[ip]\n\t.long", "ldr\tip,[pc]\n\tldr\tpc,[ip]\n\t.long",
".global", ".space", ".align\t2",".align\t4", "", ".global", ".space", ".align\t2",".align\t4", "",
"epoc-pe-arm-little", bfd_arch_arm, "epoc-pe-arm-little", bfd_arch_arm,
@ -726,6 +730,7 @@ rvaafter (machine)
case MMCORE_LE: case MMCORE_LE:
case MMCORE_ELF: case MMCORE_ELF:
case MMCORE_ELF_LE: case MMCORE_ELF_LE:
case MARM_EPOC:
break; break;
default: default:
/* xgettext:c-format */ /* xgettext:c-format */
@ -750,6 +755,7 @@ rvabefore (machine)
case MMCORE_LE: case MMCORE_LE:
case MMCORE_ELF: case MMCORE_ELF:
case MMCORE_ELF_LE: case MMCORE_ELF_LE:
case MARM_EPOC:
return ".rva\t"; return ".rva\t";
default: default:
/* xgettext:c-format */ /* xgettext:c-format */
@ -773,6 +779,7 @@ asm_prefix (machine)
case MMCORE_LE: case MMCORE_LE:
case MMCORE_ELF: case MMCORE_ELF:
case MMCORE_ELF_LE: case MMCORE_ELF_LE:
case MARM_EPOC:
break; break;
case M386: case M386:
return "_"; return "_";

View File

@ -6,7 +6,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2000-12-12 12:49-0800\n" "POT-Creation-Date: 2000-12-19 14:20-0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -428,325 +428,325 @@ msgstr ""
msgid "debug_write_type: illegal type encountered" msgid "debug_write_type: illegal type encountered"
msgstr "" msgstr ""
#: dlltool.c:732 dlltool.c:756 dlltool.c:781 #: dlltool.c:737 dlltool.c:762 dlltool.c:788
#, c-format #, c-format
msgid "Internal error: Unknown machine type: %d" msgid "Internal error: Unknown machine type: %d"
msgstr "" msgstr ""
#: dlltool.c:818 #: dlltool.c:825
#, c-format #, c-format
msgid "Can't open def file: %s" msgid "Can't open def file: %s"
msgstr "" msgstr ""
#: dlltool.c:823 #: dlltool.c:830
#, c-format #, c-format
msgid "Processing def file: %s" msgid "Processing def file: %s"
msgstr "" msgstr ""
#: dlltool.c:827 #: dlltool.c:834
msgid "Processed def file" msgid "Processed def file"
msgstr "" msgstr ""
#: dlltool.c:852 #: dlltool.c:859
#, c-format #, c-format
msgid "Syntax error in def file %s:%d" msgid "Syntax error in def file %s:%d"
msgstr "" msgstr ""
#: dlltool.c:885 #: dlltool.c:892
#, c-format #, c-format
msgid "NAME: %s base: %x" msgid "NAME: %s base: %x"
msgstr "" msgstr ""
#: dlltool.c:888 dlltool.c:907 #: dlltool.c:895 dlltool.c:914
msgid "Can't have LIBRARY and NAME" msgid "Can't have LIBRARY and NAME"
msgstr "" msgstr ""
#: dlltool.c:904 #: dlltool.c:911
#, c-format #, c-format
msgid "LIBRARY: %s base: %x" msgid "LIBRARY: %s base: %x"
msgstr "" msgstr ""
#: dlltool.c:1162 resrc.c:271 #: dlltool.c:1169 resrc.c:271
#, c-format #, c-format
msgid "wait: %s" msgid "wait: %s"
msgstr "" msgstr ""
#: dlltool.c:1167 dllwrap.c:456 resrc.c:276 #: dlltool.c:1174 dllwrap.c:456 resrc.c:276
#, c-format #, c-format
msgid "subprocess got fatal signal %d" msgid "subprocess got fatal signal %d"
msgstr "" msgstr ""
#: dlltool.c:1173 dllwrap.c:463 resrc.c:283 #: dlltool.c:1180 dllwrap.c:463 resrc.c:283
#, c-format #, c-format
msgid "%s exited with status %d" msgid "%s exited with status %d"
msgstr "" msgstr ""
#: dlltool.c:1205 #: dlltool.c:1212
#, c-format #, c-format
msgid "Sucking in info from %s section in %s" msgid "Sucking in info from %s section in %s"
msgstr "" msgstr ""
#: dlltool.c:1329 #: dlltool.c:1336
#, c-format #, c-format
msgid "Excluding symbol: %s" msgid "Excluding symbol: %s"
msgstr "" msgstr ""
#: dlltool.c:1424 dlltool.c:1435 nm.c:946 nm.c:957 objdump.c:443 objdump.c:460 #: dlltool.c:1431 dlltool.c:1442 nm.c:946 nm.c:957 objdump.c:443 objdump.c:460
#, c-format #, c-format
msgid "%s: no symbols" msgid "%s: no symbols"
msgstr "" msgstr ""
#. FIXME: we ought to read in and block out the base relocations #. FIXME: we ought to read in and block out the base relocations
#: dlltool.c:1462 #: dlltool.c:1469
#, c-format #, c-format
msgid "Done reading %s" msgid "Done reading %s"
msgstr "" msgstr ""
#: dlltool.c:1473 #: dlltool.c:1480
#, c-format #, c-format
msgid "Unable to open object file: %s" msgid "Unable to open object file: %s"
msgstr "" msgstr ""
#: dlltool.c:1476 #: dlltool.c:1483
#, c-format #, c-format
msgid "Scanning object file %s" msgid "Scanning object file %s"
msgstr "" msgstr ""
#: dlltool.c:1491 #: dlltool.c:1498
#, c-format #, c-format
msgid "Cannot produce mcore-elf dll from archive file: %s" msgid "Cannot produce mcore-elf dll from archive file: %s"
msgstr "" msgstr ""
#: dlltool.c:1583 #: dlltool.c:1590
msgid "Adding exports to output file" msgid "Adding exports to output file"
msgstr "" msgstr ""
#: dlltool.c:1628 #: dlltool.c:1635
msgid "Added exports to output file" msgid "Added exports to output file"
msgstr "" msgstr ""
#: dlltool.c:1752 #: dlltool.c:1759
#, c-format #, c-format
msgid "Generating export file: %s" msgid "Generating export file: %s"
msgstr "" msgstr ""
#: dlltool.c:1757 #: dlltool.c:1764
#, c-format #, c-format
msgid "Unable to open temporary assembler file: %s" msgid "Unable to open temporary assembler file: %s"
msgstr "" msgstr ""
#: dlltool.c:1760 #: dlltool.c:1767
#, c-format #, c-format
msgid "Opened temporary file: %s" msgid "Opened temporary file: %s"
msgstr "" msgstr ""
#: dlltool.c:1974 #: dlltool.c:1981
msgid "Generated exports file" msgid "Generated exports file"
msgstr "" msgstr ""
#: dlltool.c:2229 #: dlltool.c:2236
#, c-format #, c-format
msgid "bfd_open failed open stub file: %s" msgid "bfd_open failed open stub file: %s"
msgstr "" msgstr ""
#: dlltool.c:2232 #: dlltool.c:2239
#, c-format #, c-format
msgid "Creating stub file: %s" msgid "Creating stub file: %s"
msgstr "" msgstr ""
#: dlltool.c:2619 #: dlltool.c:2626
#, c-format #, c-format
msgid "failed to open temporary head file: %s" msgid "failed to open temporary head file: %s"
msgstr "" msgstr ""
#: dlltool.c:2678 #: dlltool.c:2685
#, c-format #, c-format
msgid "failed to open temporary tail file: %s" msgid "failed to open temporary tail file: %s"
msgstr "" msgstr ""
#: dlltool.c:2746 #: dlltool.c:2753
#, c-format #, c-format
msgid "Can't open .lib file: %s" msgid "Can't open .lib file: %s"
msgstr "" msgstr ""
#: dlltool.c:2749 #: dlltool.c:2756
#, c-format #, c-format
msgid "Creating library file: %s" msgid "Creating library file: %s"
msgstr "" msgstr ""
#: dlltool.c:2808 #: dlltool.c:2815
#, c-format #, c-format
msgid "cannot delete %s: %s" msgid "cannot delete %s: %s"
msgstr "" msgstr ""
#: dlltool.c:2812 #: dlltool.c:2819
msgid "Created lib file" msgid "Created lib file"
msgstr "" msgstr ""
#: dlltool.c:2917 #: dlltool.c:2924
#, c-format #, c-format
msgid "Warning, ignoring duplicate EXPORT %s %d,%d" msgid "Warning, ignoring duplicate EXPORT %s %d,%d"
msgstr "" msgstr ""
#: dlltool.c:2923 #: dlltool.c:2930
#, c-format #, c-format
msgid "Error, duplicate EXPORT with oridinals: %s" msgid "Error, duplicate EXPORT with oridinals: %s"
msgstr "" msgstr ""
#: dlltool.c:3050 #: dlltool.c:3057
msgid "Processing definitions" msgid "Processing definitions"
msgstr "" msgstr ""
#: dlltool.c:3088 #: dlltool.c:3095
msgid "Processed definitions" msgid "Processed definitions"
msgstr "" msgstr ""
#. xgetext:c-format #. xgetext:c-format
#: dlltool.c:3099 dllwrap.c:520 #: dlltool.c:3106 dllwrap.c:520
#, c-format #, c-format
msgid "Usage %s <options> <object-files>\n" msgid "Usage %s <options> <object-files>\n"
msgstr "" msgstr ""
#. xgetext:c-format #. xgetext:c-format
#: dlltool.c:3101 #: dlltool.c:3108
#, c-format #, c-format
msgid "" msgid ""
" -m --machine <machine> Create as DLL for <machine>. [default: %s]\n" " -m --machine <machine> Create as DLL for <machine>. [default: %s]\n"
msgstr "" msgstr ""
#: dlltool.c:3102 #: dlltool.c:3109
msgid "" msgid ""
" possible <machine>: arm[_interwork], i386, mcore[-elf]{-le|-be}, " " possible <machine>: arm[_interwork], i386, mcore[-elf]{-le|-be}, "
"ppc, thumb\n" "ppc, thumb\n"
msgstr "" msgstr ""
#: dlltool.c:3103 #: dlltool.c:3110
msgid " -e --output-exp <outname> Generate an export file.\n" msgid " -e --output-exp <outname> Generate an export file.\n"
msgstr "" msgstr ""
#: dlltool.c:3104 #: dlltool.c:3111
msgid " -l --output-lib <outname> Generate an interface library.\n" msgid " -l --output-lib <outname> Generate an interface library.\n"
msgstr "" msgstr ""
#: dlltool.c:3105 #: dlltool.c:3112
msgid " -a --add-indirect Add dll indirects to export file.\n" msgid " -a --add-indirect Add dll indirects to export file.\n"
msgstr "" msgstr ""
#: dlltool.c:3106 #: dlltool.c:3113
msgid "" msgid ""
" -D --dllname <name> Name of input dll to put into interface lib.\n" " -D --dllname <name> Name of input dll to put into interface lib.\n"
msgstr "" msgstr ""
#: dlltool.c:3107 #: dlltool.c:3114
msgid " -d --input-def <deffile> Name of .def file to be read in.\n" msgid " -d --input-def <deffile> Name of .def file to be read in.\n"
msgstr "" msgstr ""
#: dlltool.c:3108 #: dlltool.c:3115
msgid " -z --output-def <deffile> Name of .def file to be created.\n" msgid " -z --output-def <deffile> Name of .def file to be created.\n"
msgstr "" msgstr ""
#: dlltool.c:3109 #: dlltool.c:3116
msgid " --export-all-symbols Export all symbols to .def\n" msgid " --export-all-symbols Export all symbols to .def\n"
msgstr "" msgstr ""
#: dlltool.c:3110 #: dlltool.c:3117
msgid " --no-export-all-symbols Only export listed symbols\n" msgid " --no-export-all-symbols Only export listed symbols\n"
msgstr "" msgstr ""
#: dlltool.c:3111 #: dlltool.c:3118
msgid " --exclude-symbols <list> Don't export <list>\n" msgid " --exclude-symbols <list> Don't export <list>\n"
msgstr "" msgstr ""
#: dlltool.c:3112 #: dlltool.c:3119
msgid " --no-default-excludes Clear default exclude symbols\n" msgid " --no-default-excludes Clear default exclude symbols\n"
msgstr "" msgstr ""
#: dlltool.c:3113 #: dlltool.c:3120
msgid " -b --base-file <basefile> Read linker generated base file.\n" msgid " -b --base-file <basefile> Read linker generated base file.\n"
msgstr "" msgstr ""
#: dlltool.c:3114 #: dlltool.c:3121
msgid " -x --no-idata4 Don't generate idata$4 section.\n" msgid " -x --no-idata4 Don't generate idata$4 section.\n"
msgstr "" msgstr ""
#: dlltool.c:3115 #: dlltool.c:3122
msgid " -c --no-idata5 Don't generate idata$5 section.\n" msgid " -c --no-idata5 Don't generate idata$5 section.\n"
msgstr "" msgstr ""
#: dlltool.c:3116 #: dlltool.c:3123
msgid "" msgid ""
" -U --add-underscore Add underscores to symbols in interface " " -U --add-underscore Add underscores to symbols in interface "
"library.\n" "library.\n"
msgstr "" msgstr ""
#: dlltool.c:3117 #: dlltool.c:3124
msgid " -k --kill-at Kill @<n> from exported names.\n" msgid " -k --kill-at Kill @<n> from exported names.\n"
msgstr "" msgstr ""
#: dlltool.c:3118 #: dlltool.c:3125
msgid " -A --add-stdcall-alias Add aliases without @<n>.\n" msgid " -A --add-stdcall-alias Add aliases without @<n>.\n"
msgstr "" msgstr ""
#: dlltool.c:3119 #: dlltool.c:3126
msgid " -S --as <name> Use <name> for assembler.\n" msgid " -S --as <name> Use <name> for assembler.\n"
msgstr "" msgstr ""
#: dlltool.c:3120 #: dlltool.c:3127
msgid " -f --as-flags <flags> Pass <flags> to the assembler.\n" msgid " -f --as-flags <flags> Pass <flags> to the assembler.\n"
msgstr "" msgstr ""
#: dlltool.c:3121 #: dlltool.c:3128
msgid "" msgid ""
" -C --compat-implib Create backward compatible import library.\n" " -C --compat-implib Create backward compatible import library.\n"
msgstr "" msgstr ""
#: dlltool.c:3122 #: dlltool.c:3129
msgid "" msgid ""
" -n --no-delete Keep temp files (repeat for extra " " -n --no-delete Keep temp files (repeat for extra "
"preservation).\n" "preservation).\n"
msgstr "" msgstr ""
#: dlltool.c:3123 #: dlltool.c:3130
msgid " -v --verbose Be verbose.\n" msgid " -v --verbose Be verbose.\n"
msgstr "" msgstr ""
#: dlltool.c:3124 #: dlltool.c:3131
msgid " -V --version Display the program version.\n" msgid " -V --version Display the program version.\n"
msgstr "" msgstr ""
#: dlltool.c:3125 #: dlltool.c:3132
msgid " -h --help Display this information.\n" msgid " -h --help Display this information.\n"
msgstr "" msgstr ""
#: dlltool.c:3127 #: dlltool.c:3134
msgid "" msgid ""
" -M --mcore-elf <outname> Process mcore-elf object files into <outname>.\n" " -M --mcore-elf <outname> Process mcore-elf object files into <outname>.\n"
msgstr "" msgstr ""
#: dlltool.c:3128 #: dlltool.c:3135
msgid " -L --linker <name> Use <name> as the linker.\n" msgid " -L --linker <name> Use <name> as the linker.\n"
msgstr "" msgstr ""
#: dlltool.c:3129 #: dlltool.c:3136
msgid " -F --linker-flags <flags> Pass <flags> to the linker.\n" msgid " -F --linker-flags <flags> Pass <flags> to the linker.\n"
msgstr "" msgstr ""
#: dlltool.c:3273 #: dlltool.c:3280
#, c-format #, c-format
msgid "Unable to open base-file: %s" msgid "Unable to open base-file: %s"
msgstr "" msgstr ""
#: dlltool.c:3302 #: dlltool.c:3309
#, c-format #, c-format
msgid "Machine '%s' not supported" msgid "Machine '%s' not supported"
msgstr "" msgstr ""
#: dlltool.c:3405 dllwrap.c:241 #: dlltool.c:3412 dllwrap.c:241
#, c-format #, c-format
msgid "Tried file: %s" msgid "Tried file: %s"
msgstr "" msgstr ""
#: dlltool.c:3412 dllwrap.c:248 #: dlltool.c:3419 dllwrap.c:248
#, c-format #, c-format
msgid "Using file: %s" msgid "Using file: %s"
msgstr "" msgstr ""