100-fix_compiler_inlining.patch 929 B

12345678910111213141516171819202122232425262728
  1. --- apex-1.5.4/src/arch-arm/entry/apex.lds.S~ 2007-05-31 14:54:41.000000000 +0930
  2. +++ apex-1.5.4/src/arch-arm/entry/apex.lds.S 2007-06-02 14:26:51.000000000 +0930
  3. @@ -48,8 +48,8 @@
  4. }
  5. .reset.post : { /* Post-SDRAM init code.*/
  6. *(.reset.post)
  7. - *(.reset.postfn)
  8. - *(.reset.postex)
  9. + *(.reset.post.func)
  10. + *(.reset.post.exit)
  11. }
  12. .rlocate : { /* Final/only relocation of APEX to SDRAM */
  13. *(.rlocate)
  14. --- apex-1.5.4/src/arch-arm/entry/reset.c~ 2007-05-31 14:54:41.000000000 +0930
  15. +++ apex-1.5.4/src/arch-arm/entry/reset.c 2007-06-02 14:27:20.000000000 +0930
  16. @@ -292,10 +292,10 @@
  17. // __asm volatile ("mov sp, %0" :: "r" (&APEX_VMA_STACK_START));
  18. __asm volatile ("mov r0, %0" :: "r" (offset));
  19. - __asm volatile ("b reset_post_2");
  20. + __asm volatile ("b reset_post_exit");
  21. }
  22. -void __naked __section (.reset.post) reset_post_2 (void)
  23. +void __naked __section (.reset.post.exit) reset_post_exit (void)
  24. {
  25. }