summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-08-22 13:08:56 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-08-22 13:08:56 +0000
commit2d9973753317f506c3f97bb8d7247d2512b0549c (patch)
treee140020d84e69fa26505ca558e298cbab9486ebd
parentAdded command line options for next, previous, and up node. (diff)
downloadrtems-2d9973753317f506c3f97bb8d7247d2512b0549c.tar.bz2
start no longer a global symbol per Eric Norum's request.
Also, I ran across a nasty problem the first time I tried downloading and running an application compiled with the new snapshot. To make a very long story short, the `start' in ...../m68k/gen6860/start360/start360.s must not be global. The change is simple -- just remove the .globl start from start360.s.
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/start/start360.s7
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/start360/start360.s7
2 files changed, 12 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/m68k/gen68360/start/start360.s b/c/src/lib/libbsp/m68k/gen68360/start/start360.s
index a384912254..7abd906af0 100644
--- a/c/src/lib/libbsp/m68k/gen68360/start/start360.s
+++ b/c/src/lib/libbsp/m68k/gen68360/start/start360.s
@@ -311,7 +311,12 @@ spurious_interrupt:
.align 2
.long ETHERNET_ADDRESS | Low-order 3 octets of ethernet address
- .global start
+/*
+ * For some reason, the symbol start must not be global.
+ *
+ * .global start
+ */
+
/*
* Initial PC
*/
diff --git a/c/src/lib/libbsp/m68k/gen68360/start360/start360.s b/c/src/lib/libbsp/m68k/gen68360/start360/start360.s
index a384912254..7abd906af0 100644
--- a/c/src/lib/libbsp/m68k/gen68360/start360/start360.s
+++ b/c/src/lib/libbsp/m68k/gen68360/start360/start360.s
@@ -311,7 +311,12 @@ spurious_interrupt:
.align 2
.long ETHERNET_ADDRESS | Low-order 3 octets of ethernet address
- .global start
+/*
+ * For some reason, the symbol start must not be global.
+ *
+ * .global start
+ */
+
/*
* Initial PC
*/