diff options
author | Björn-Egil Dahlberg <[email protected]> | 2012-07-16 18:49:53 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2012-07-19 19:38:35 +0200 |
commit | ee6db186807adc034107ea380d847fc12d0237d9 (patch) | |
tree | 4b6c1b904a6e6ba1d30d22c52be470852266e1e2 /erts/emulator/sys/vxworks/erl_main.c | |
parent | 643caa68f0213bb5a28db708c57085444cb1c69c (diff) | |
download | otp-ee6db186807adc034107ea380d847fc12d0237d9.tar.gz otp-ee6db186807adc034107ea380d847fc12d0237d9.tar.bz2 otp-ee6db186807adc034107ea380d847fc12d0237d9.zip |
erts: Remove VxWorks sub-directory
Diffstat (limited to 'erts/emulator/sys/vxworks/erl_main.c')
-rw-r--r-- | erts/emulator/sys/vxworks/erl_main.c | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/erts/emulator/sys/vxworks/erl_main.c b/erts/emulator/sys/vxworks/erl_main.c deleted file mode 100644 index c9b44a635a..0000000000 --- a/erts/emulator/sys/vxworks/erl_main.c +++ /dev/null @@ -1,45 +0,0 @@ -/* - * %CopyrightBegin% - * - * Copyright Ericsson AB 2000-2009. All Rights Reserved. - * - * The contents of this file are subject to the Erlang Public License, - * Version 1.1, (the "License"); you may not use this file except in - * compliance with the License. You should have received a copy of the - * Erlang Public License along with this software. If not, it can be - * retrieved online at http://www.erlang.org/. - * - * Software distributed under the License is distributed on an "AS IS" - * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See - * the License for the specific language governing rights and limitations - * under the License. - * - * %CopyrightEnd% - */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif -#include "sys.h" -#include "erl_vm.h" - -#if defined(__GNUC__) -/* - * The generated assembler does the usual trick (relative - * branch-and-link to next instruction) to get a copy of the - * instruction ptr. Instead of branching to an explicit zero offset, - * it branches to the symbol `__eabi' --- which is expected to be - * undefined and thus zero (if it is defined as non-zero, things will - * be interesting --- as in the Chinese curse). To shut up the VxWorks - * linker, we define `__eabi' as zero. - * - * This is just a work around. It's really Wind River's GCC's code - * generator that should be fixed. - */ -__asm__(".equ __eabi, 0"); -#endif - -void -erl_main(int argc, char **argv) -{ - erl_start(argc, argv); -} |