|
@@ -254,12 +254,27 @@ unit cpugas;
|
|
|
idtxt: 'AS';
|
|
|
asmbin: 'as';
|
|
|
asmcmd: '-mips2 -W -EL -o $OBJ $ASM';
|
|
|
- supported_targets: [system_mips_linux,system_mipsel_linux];
|
|
|
+ supported_targets: [system_mipsel_linux];
|
|
|
+ flags: [af_allowdirect, af_needar, af_smartlink_sections];
|
|
|
+ labelprefix: '.L';
|
|
|
+ comment: '# ';
|
|
|
+ );
|
|
|
+ as_MIPS_as_info: tasminfo =
|
|
|
+ (
|
|
|
+ id: as_gas;
|
|
|
+ idtxt: 'AS';
|
|
|
+ asmbin: 'as';
|
|
|
+ asmcmd: '-mips2 -W -EB -o $OBJ $ASM';
|
|
|
+ supported_targets: [system_mips_linux];
|
|
|
flags: [af_allowdirect, af_needar, af_smartlink_sections];
|
|
|
labelprefix: '.L';
|
|
|
comment: '# ';
|
|
|
);
|
|
|
|
|
|
begin
|
|
|
+{$ifdef MIPSEL}
|
|
|
RegisterAssembler(as_MIPSEL_as_info, TMIPSGNUAssembler);
|
|
|
+{$else MIPSEL}
|
|
|
+ RegisterAssembler(as_MIPS_as_info, TMIPSGNUAssembler);
|
|
|
+{$endif MIPSEL}
|
|
|
end.
|