I had a quick look at the disassembly of board/overo/overo.c both at
fca7cd29b6821df3e7d8c4369522f2a3d01a5d7b and with Andy's work-around of
duplicating get_sys_clkin_sel(), calling it get_sys_clkin_sela(), and
putting it directly ahead of prcm_init().  I saw no unexplained
difference between the two versions of prcm_init().

BTW, I noticed that you're compiling with -marm.  Switching to -mthumb
shrinks the 23468 byte .bin file to 17668.  The binary also includes the
fairly expensive optimised for speed versions of __aeabi_uidiv,
__aeabi_uidivmod, __aeabi_idiv, __aeabi_idivmod, __aeabi_ldiv0, and
__aeabi_idiv0.

Also the -ffixed-r8 seems redundant.  u-boot uses this for some type of
platform pointer, but it's not used at all in x-load.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/813018

Title:
  gcc 4.5 breaks overo in latest x-loader (1.5.1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc-linaro/+bug/813018/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to