public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [U-boot] "-mno-unaligned-access" question
@ 2013-09-12  6:01 TigerLiu at viatech.com.cn
  2013-10-15  8:30 ` Albert ARIBAUD
  0 siblings, 1 reply; 2+ messages in thread
From: TigerLiu at viatech.com.cn @ 2013-09-12  6:01 UTC (permalink / raw)
  To: u-boot

Hi, experts:

I have a question about compiler option "-mno-unaligned-access".

Why not open "-mno-unaligned-access" compiler option globally by default
when compiling u-boot?

 

It seems if one driver needs to open it, should set it in Makefile
individually:

$(obj) tst/tst.o: CFLAGS += $(PLATFORM_NO_UNALIGNED)

 

Best wishes,

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] [U-boot] "-mno-unaligned-access" question
  2013-09-12  6:01 [U-Boot] [U-boot] "-mno-unaligned-access" question TigerLiu at viatech.com.cn
@ 2013-10-15  8:30 ` Albert ARIBAUD
  0 siblings, 0 replies; 2+ messages in thread
From: Albert ARIBAUD @ 2013-10-15  8:30 UTC (permalink / raw)
  To: u-boot

Hi TigerLiu at viatech.com.cn,

On Thu, 12 Sep 2013 14:01:17 +0800, <TigerLiu@viatech.com.cn> wrote:

> Hi, experts:
> 
> I have a question about compiler option "-mno-unaligned-access".
> 
> Why not open "-mno-unaligned-access" compiler option globally by default
> when compiling u-boot?
> 
>  
> 
> It seems if one driver needs to open it, should set it in Makefile
> individually:
> 
> $(obj) tst/tst.o: CFLAGS += $(PLATFORM_NO_UNALIGNED)
> 
>  
> 
> Best wishes,

Sorry, I missed this question -- answers can be found in
doc/README.arm-unaligned-accesses.

Amicalement,
-- 
Albert.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-15  8:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-12  6:01 [U-Boot] [U-boot] "-mno-unaligned-access" question TigerLiu at viatech.com.cn
2013-10-15  8:30 ` Albert ARIBAUD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox