From 0af1b73f3ca5d11f7ada451e313741b17c501360 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 3 Jan 2000 17:27:06 +0000 Subject: Patch from Eric Norum : 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. --- c/src/lib/libbsp/m68k/gen68360/startup/linkcmds | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/src/lib/libbsp/m68k/gen68360/startup/linkcmds') 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 -- cgit v1.2.3