|
@@ -66,7 +66,10 @@ unit agcpugas;
|
|
function TXtensaGNUAssembler.MakeCmdLine: TCmdStr;
|
|
function TXtensaGNUAssembler.MakeCmdLine: TCmdStr;
|
|
begin
|
|
begin
|
|
result:=inherited MakeCmdLine;
|
|
result:=inherited MakeCmdLine;
|
|
- if target_info.endian=endian_little then
|
|
|
|
|
|
+ { Released FreeRTOS binutils do not support -EB/-EL options }
|
|
|
|
+ if target_info.system=system_xtensa_freertos then
|
|
|
|
+ Replace(result,'$SHORTENDIAN','')
|
|
|
|
+ else if target_info.endian=endian_little then
|
|
Replace(result,'$SHORTENDIAN','-EL')
|
|
Replace(result,'$SHORTENDIAN','-EL')
|
|
else
|
|
else
|
|
Replace(result,'$SHORTENDIAN','-EB');
|
|
Replace(result,'$SHORTENDIAN','-EB');
|