* choose between arm (little endian) and armeb for fpcres based on the

target_info rather than based on the source_info

git-svn-id: trunk@30217 -
This commit is contained in:
Jonas Maebe 2015-03-14 18:36:29 +00:00
parent eee83ebb4a
commit 6b9b575b74

View File

@ -283,10 +283,10 @@ begin
Replace(s,'$OBJ',maybequoted(OutName));
subarch:='all';
arch:=cpu2str[target_cpu];
if (source_info.cpu=systems.cpu_arm) then
if (target_info.cpu=systems.cpu_arm) then
begin
//Differentiate between arm and armeb
if (source_info.endian=endian_big) then
if (target_info.endian=endian_big) then
arch:=arch+'eb';
end;
Replace(s,'$ARCH',arch);