mrenzmann | 3 Jan 2006 15:17
Favicon

revision 1373 committed by mrenzmann

Project     : madwifi
Revision    : 1373
Author      : mrenzmann
Date        : 2006-01-03 15:17:57 +0100 (Tue, 03 Jan 2006)

Log Message :
Patch for xscale cross compilation conflicts. Sebastian Weitzel said
"The compilation warning can be ignored. The warning occurs with
newer gcc versions, were only -mcpu=xscale should be specified. The
result is working either."

Patch submitted by Jick Nan, I just tweaked it to apply cleanly
against the current madwifi-ng revision.

Signed-off-by: Jick Nan <jick.nan <at> gmail.com>
Signed-off-by: Michael Renzmann <mrenzmann <at> otaku42.de>

Affected Files:
* trunk/hal/public/xscale-be-elf.inc                  updated             
* trunk/hal/public/xscale-le-elf.inc                  updated             

Modified: trunk/hal/public/xscale-be-elf.inc
===================================================================
--- trunk/hal/public/xscale-be-elf.inc	2005-12-30 12:49:34 UTC (rev 1372)
+++ trunk/hal/public/xscale-be-elf.inc	2006-01-03 14:17:57 UTC (rev 1373)
 <at>  <at>  -72,5 +72,5  <at>  <at> 

 LDOPTS=	-EB
 COPTS+=	-DAH_BYTE_ORDER=AH_BIG_ENDIAN -DAH_REGOPS_FUNC
-COPTS+= -march=armv4 -mbig-endian -fno-strict-aliasing -fno-common -mapcs-32 \
+COPTS+= -mbig-endian -fno-strict-aliasing -fno-common -mapcs-32 \
 	-mtune=xscale  -mshort-load-bytes -msoft-float -mfp=2

Modified: trunk/hal/public/xscale-le-elf.inc
===================================================================
--- trunk/hal/public/xscale-le-elf.inc	2005-12-30 12:49:34 UTC (rev 1372)
+++ trunk/hal/public/xscale-le-elf.inc	2006-01-03 14:17:57 UTC (rev 1373)
 <at>  <at>  -73,5 +73,5  <at>  <at> 

 LDOPTS=	-EL
 COPTS+=	-DAH_BYTE_ORDER=AH_LITTLE_ENDIAN -DAH_REGOPS_FUNC
-COPTS+= -march=armv4 -mlittle-endian -fno-strict-aliasing -fno-common \
+COPTS+= -mlittle-endian -fno-strict-aliasing -fno-common \
 	-mapcs-32 -mtune=xscale  -mshort-load-bytes -msoft-float -mfp=2

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

Gmane