Changeset 1444

Show
Ignore:
Timestamp:
02/07/06 20:09:13 (3 years ago)
Author:
mrenzmann
Message:

When trying to compile r1443 with gcc 3.4.1,
armv5b-softfloat-linux-gnu-gcc reports the following error:

cc1: error: invalid option `short-load-bytes'

This is a redux of the fix that went in as r1275 and fixes #376.

Signed-off-by: Mark Glines <mark@glines.org>

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/hal/public/xscale-be-elf.inc

    r1373 r1444  
    7474COPTS+= -DAH_BYTE_ORDER=AH_BIG_ENDIAN -DAH_REGOPS_FUNC 
    7575COPTS+= -mbig-endian -fno-strict-aliasing -fno-common -mapcs-32 \ 
    76         -mtune=xscale  -mshort-load-bytes -msoft-float -mfp=2 
     76        -mtune=xscale $(call cc-option,-mshort-load-bytes, \ 
     77        $(call cc-option,-malignment-traps,)) -msoft-float -mfp=2 
  • trunk/hal/public/xscale-le-elf.inc

    r1373 r1444  
    7575COPTS+= -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN -DAH_REGOPS_FUNC 
    7676COPTS+= -mlittle-endian -fno-strict-aliasing -fno-common \ 
    77         -mapcs-32 -mtune=xscale  -mshort-load-bytes -msoft-float -mfp=2 
     77        -mapcs-32 -mtune=xscale $(call cc-option,-mshort-load-bytes, \ 
     78        $(call cc-option,-malignment-traps,)) -msoft-float -mfp=2