[U-Boot-Users] [PATCH] Remove warning: target CPU does not support interworking in ARMv6

Remove warning: target CPU does not support interworking in ARMv6
Signed-off-by: Kyungmin Park kyungmin.park@samsung.com -- diff --git a/cpu/arm1136/config.mk b/cpu/arm1136/config.mk index e39e774..6ab0dd3 100644 --- a/cpu/arm1136/config.mk +++ b/cpu/arm1136/config.mk @@ -31,4 +31,5 @@ PLATFORM_CPPFLAGS += -march=armv5 # # ========================================================================= PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32,-mabi=apcs-gnu) +PLATFORM_CPPFLAGS +=$(call cc-option,-mno-thumb-interwork,) PLATFORM_RELFLAGS +=$(call cc-option,-mshort-load-bytes,$(call cc-option,- malignment-traps,))

-----Original Message----- From: u-boot-users-bounces@lists.sourceforge.net [mailto:u-boot-users-bounces@lists.sourceforge.net] On Behalf Of Kyungmin Park Sent: 15 March 2007 04:57 To: u-boot-users@lists.sourceforge.net Subject: [U-Boot-Users] [PATCH] Remove warning: target CPU does not supportinterworking in ARMv6
Remove warning: target CPU does not support interworking in ARMv6
Signed-off-by: Kyungmin Park kyungmin.park@samsung.com
diff --git a/cpu/arm1136/config.mk b/cpu/arm1136/config.mk index e39e774..6ab0dd3 100644 --- a/cpu/arm1136/config.mk +++ b/cpu/arm1136/config.mk @@ -31,4 +31,5 @@ PLATFORM_CPPFLAGS += -march=armv5 # # ============================================================== =========== PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32,-mabi=apcs-gnu) +PLATFORM_CPPFLAGS +=$(call cc-option,-mno-thumb-interwork,) PLATFORM_RELFLAGS +=$(call cc-option,-mshort-load-bytes,$(call cc-option,- malignment-traps,))
Added to my (u-boot-arm) list for checking
Peter Pearse

-----Original Message----- From: u-boot-users-bounces@lists.sourceforge.net [mailto:u-boot-users-bounces@lists.sourceforge.net] On Behalf Of Kyungmin Park Sent: 15 March 2007 04:57 To: u-boot-users@lists.sourceforge.net Subject: [U-Boot-Users] [PATCH] Remove warning: target CPU does not supportinterworking in ARMv6
Remove warning: target CPU does not support interworking in ARMv6
Signed-off-by: Kyungmin Park kyungmin.park@samsung.com
Kyungmin
Thanks for your patch. It will be useful for others, with the same problem, to see your post.
However, I shall not be submitting it for inclusion in the main U-Boot tree.
The compiler warning indicates a toolchain problem, rather than a problem in the U-Boot code.
The ELDK arm-linux-gcc does not give this error message.
Regards
Peter Pearse
participants (2)
-
Kyungmin Park
-
Peter Pearse