diff options
author | rwhitby <rwhitby@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-06-02 05:17:59 +0000 |
---|---|---|
committer | rwhitby <rwhitby@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-06-02 05:17:59 +0000 |
commit | a734f1b07a7c700449d311f5a93459b3c659b63e (patch) | |
tree | 1788f77c870a77241cf15e6a5d8993f66e8cab09 /target/linux/ixp4xx-2.6/image/apex/patches/100-fix_compiler_inlining.patch | |
parent | 18f85f597c286cf71c19bee05909da001bf83422 (diff) |
apex: Updated to 1.5.4 - this time it boots
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7441 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ixp4xx-2.6/image/apex/patches/100-fix_compiler_inlining.patch')
-rw-r--r-- | target/linux/ixp4xx-2.6/image/apex/patches/100-fix_compiler_inlining.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/target/linux/ixp4xx-2.6/image/apex/patches/100-fix_compiler_inlining.patch b/target/linux/ixp4xx-2.6/image/apex/patches/100-fix_compiler_inlining.patch new file mode 100644 index 000000000..427068dab --- /dev/null +++ b/target/linux/ixp4xx-2.6/image/apex/patches/100-fix_compiler_inlining.patch @@ -0,0 +1,28 @@ +--- apex-1.5.4/src/arch-arm/entry/apex.lds.S~ 2007-05-31 14:54:41.000000000 +0930 ++++ apex-1.5.4/src/arch-arm/entry/apex.lds.S 2007-06-02 14:26:51.000000000 +0930 +@@ -48,8 +48,8 @@ + } + .reset.post : { /* Post-SDRAM init code.*/ + *(.reset.post) +- *(.reset.postfn) +- *(.reset.postex) ++ *(.reset.post.func) ++ *(.reset.post.exit) + } + .rlocate : { /* Final/only relocation of APEX to SDRAM */ + *(.rlocate) +--- apex-1.5.4/src/arch-arm/entry/reset.c~ 2007-05-31 14:54:41.000000000 +0930 ++++ apex-1.5.4/src/arch-arm/entry/reset.c 2007-06-02 14:27:20.000000000 +0930 +@@ -292,10 +292,10 @@ + // __asm volatile ("mov sp, %0" :: "r" (&APEX_VMA_STACK_START)); + + __asm volatile ("mov r0, %0" :: "r" (offset)); +- __asm volatile ("b reset_post_2"); ++ __asm volatile ("b reset_post_exit"); + } + +-void __naked __section (.reset.post) reset_post_2 (void) ++void __naked __section (.reset.post.exit) reset_post_exit (void) + { + } + |