mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-24 11:29:11 +02:00
* compilation of x86 and PowerPC fixed
git-svn-id: trunk@43158 -
This commit is contained in:
parent
245b58c249
commit
e0041a8244
@ -87,7 +87,8 @@ interface
|
|||||||
'objc_protolist',
|
'objc_protolist',
|
||||||
'stack',
|
'stack',
|
||||||
'heap',
|
'heap',
|
||||||
'gcc_except_table'
|
'gcc_except_table',
|
||||||
|
'ARM_attributes'
|
||||||
);
|
);
|
||||||
|
|
||||||
{ OMF record types }
|
{ OMF record types }
|
||||||
@ -3020,7 +3021,8 @@ implementation
|
|||||||
{objc_protolist} 'DATA',
|
{objc_protolist} 'DATA',
|
||||||
{stack} 'STACK',
|
{stack} 'STACK',
|
||||||
{heap} 'HEAP',
|
{heap} 'HEAP',
|
||||||
{gcc_except_table} 'DATA'
|
{gcc_except_table} 'DATA',
|
||||||
|
{ARM_attributes} 'DATA'
|
||||||
);
|
);
|
||||||
begin
|
begin
|
||||||
result:=segclass[atype];
|
result:=segclass[atype];
|
||||||
|
@ -120,6 +120,7 @@ interface
|
|||||||
'',
|
'',
|
||||||
'',
|
'',
|
||||||
'',
|
'',
|
||||||
|
'',
|
||||||
''
|
''
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ unit agppcgas;
|
|||||||
constructor CreateWithWriter(info: pasminfo; wr: TExternalAssemblerOutputFile; freewriter, smart: boolean); override;
|
constructor CreateWithWriter(info: pasminfo; wr: TExternalAssemblerOutputFile; freewriter, smart: boolean); override;
|
||||||
protected
|
protected
|
||||||
function sectionname(atype: TAsmSectiontype; const aname: string; aorder: TAsmSectionOrder): string; override;
|
function sectionname(atype: TAsmSectiontype; const aname: string; aorder: TAsmSectionOrder): string; override;
|
||||||
procedure WriteSection(atype:TAsmSectiontype;const aname:string;aorder:TAsmSectionOrder;secalign:longint;secflags:TSectionFlags=SF_None;secprogbits:TSectionProgbits=SPB_None); override;
|
procedure WriteSection(atype:TAsmSectiontype;const aname:string;aorder:TAsmSectionOrder;secalign:longint;secflags:TSectionFlags=[];secprogbits:TSectionProgbits=SPB_None); override;
|
||||||
procedure WriteAsmList; override;
|
procedure WriteAsmList; override;
|
||||||
procedure WriteExtraHeader; override;
|
procedure WriteExtraHeader; override;
|
||||||
procedure WriteExtraFooter; override;
|
procedure WriteExtraFooter; override;
|
||||||
@ -487,7 +487,7 @@ unit agppcgas;
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TPPCAIXAssembler.WriteSection(atype:TAsmSectiontype;const aname:string;aorder:TAsmSectionOrder;secalign:longint;
|
procedure TPPCAIXAssembler.WriteSection(atype:TAsmSectiontype;const aname:string;aorder:TAsmSectionOrder;secalign:longint;
|
||||||
secflags:TSectionFlags=SF_None;secprogbits:TSectionProgbits=SPB_None);
|
secflags:TSectionFlags=[];secprogbits:TSectionProgbits=SPB_None);
|
||||||
|
|
||||||
begin
|
begin
|
||||||
secalign:=max_alignment[atype];
|
secalign:=max_alignment[atype];
|
||||||
|
@ -151,6 +151,7 @@ implementation
|
|||||||
'',
|
'',
|
||||||
'',
|
'',
|
||||||
'',
|
'',
|
||||||
|
'',
|
||||||
''
|
''
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -204,6 +205,7 @@ implementation
|
|||||||
'',
|
'',
|
||||||
'',
|
'',
|
||||||
'',
|
'',
|
||||||
|
'',
|
||||||
''
|
''
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -558,7 +558,8 @@ interface
|
|||||||
'.objc_protolist',
|
'.objc_protolist',
|
||||||
'.stack',
|
'.stack',
|
||||||
'.heap',
|
'.heap',
|
||||||
',gcc_except_table'
|
',gcc_except_table',
|
||||||
|
',ARM_attributes'
|
||||||
);
|
);
|
||||||
var
|
var
|
||||||
secname,secgroup: string;
|
secname,secgroup: string;
|
||||||
|
Loading…
Reference in New Issue
Block a user