summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/gen68360/startup/linkcmds
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-01-03 17:27:06 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-01-03 17:27:06 +0000
commit0af1b73f3ca5d11f7ada451e313741b17c501360 (patch)
tree8f6d5e0a11343ab6a72b0431729b73fc4d63e92d /c/src/lib/libbsp/m68k/gen68360/startup/linkcmds
parentUpdated times. (diff)
downloadrtems-0af1b73f3ca5d11f7ada451e313741b17c501360.tar.bz2
Patch from Eric Norum <eric@cls.usask.ca>:
In another attempt to get C++ exceptions working on the gen68360 target I tried building for the m68k-elf target. All the tools built and installed properly as did all of RTEMS. No applications would run, though -- not even hello.exe! It turns out the problem was in the linker script. The alignment was in the wrong place. Here's a patch. Exceptions still don't work, but at least I can get some things working with the ELF format now.
Diffstat (limited to 'c/src/lib/libbsp/m68k/gen68360/startup/linkcmds')
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/startup/linkcmds2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/m68k/gen68360/startup/linkcmds b/c/src/lib/libbsp/m68k/gen68360/startup/linkcmds
index 9d0899b5af..833af57579 100644
--- a/c/src/lib/libbsp/m68k/gen68360/startup/linkcmds
+++ b/c/src/lib/libbsp/m68k/gen68360/startup/linkcmds
@@ -83,8 +83,8 @@ SECTIONS {
_rodata_start = . ;
*(.rodata)
*(.gnu.linkonce.r*)
- _erodata = ALIGN( 0x10 ) ;
+ . = ALIGN (16);
etext = .;
_etext = .;
} >ram