|
@@ -213,7 +213,8 @@ implementation
|
|
'.idata$2','.idata$4','.idata$5','.idata$6','.idata$7','.edata',
|
|
'.idata$2','.idata$4','.idata$5','.idata$6','.idata$7','.edata',
|
|
'.eh_frame',
|
|
'.eh_frame',
|
|
'.debug_frame',
|
|
'.debug_frame',
|
|
- 'fpc.resptrs'
|
|
|
|
|
|
+ 'fpc.resptrs',
|
|
|
|
+ '.toc'
|
|
);
|
|
);
|
|
secnames_pic : array[tasmsectiontype] of string[12] = ('',
|
|
secnames_pic : array[tasmsectiontype] of string[12] = ('',
|
|
'.text','.data.rel','.data.rel','.bss','.threadvar',
|
|
'.text','.data.rel','.data.rel','.bss','.threadvar',
|
|
@@ -224,7 +225,8 @@ implementation
|
|
'.idata$2','.idata$4','.idata$5','.idata$6','.idata$7','.edata',
|
|
'.idata$2','.idata$4','.idata$5','.idata$6','.idata$7','.edata',
|
|
'.eh_frame',
|
|
'.eh_frame',
|
|
'.debug_frame',
|
|
'.debug_frame',
|
|
- 'fpc.resptrs'
|
|
|
|
|
|
+ 'fpc.resptrs',
|
|
|
|
+ '.toc'
|
|
);
|
|
);
|
|
var
|
|
var
|
|
secname : string;
|
|
secname : string;
|
|
@@ -806,7 +808,7 @@ implementation
|
|
AsmWriteLn('.size ' + tai_symbol(hp).sym.name + ', 24');
|
|
AsmWriteLn('.size ' + tai_symbol(hp).sym.name + ', 24');
|
|
AsmWriteLn('.globl .' + tai_symbol(hp).sym.name);
|
|
AsmWriteLn('.globl .' + tai_symbol(hp).sym.name);
|
|
AsmWriteLn('.type .' + tai_symbol(hp).sym.name + ', @function');
|
|
AsmWriteLn('.type .' + tai_symbol(hp).sym.name + ', @function');
|
|
- { the dotted name is the name of the actual function }
|
|
|
|
|
|
+ { the dotted name is the name of the actual function entry }
|
|
AsmWrite('.');
|
|
AsmWrite('.');
|
|
end
|
|
end
|
|
else
|
|
else
|
|
@@ -848,15 +850,11 @@ implementation
|
|
AsmWriteLn(s+':');
|
|
AsmWriteLn(s+':');
|
|
AsmWrite(#9'.size'#9);
|
|
AsmWrite(#9'.size'#9);
|
|
if (target_info.system = system_powerpc64_linux) and (tai_symbol_end(hp).sym.typ = AT_FUNCTION) then
|
|
if (target_info.system = system_powerpc64_linux) and (tai_symbol_end(hp).sym.typ = AT_FUNCTION) then
|
|
- begin
|
|
|
|
- AsmWrite('.');
|
|
|
|
- end;
|
|
|
|
|
|
+ AsmWrite('.');
|
|
AsmWrite(tai_symbol_end(hp).sym.name);
|
|
AsmWrite(tai_symbol_end(hp).sym.name);
|
|
AsmWrite(', '+s+' - ');
|
|
AsmWrite(', '+s+' - ');
|
|
if (target_info.system = system_powerpc64_linux) and (tai_symbol_end(hp).sym.typ = AT_FUNCTION) then
|
|
if (target_info.system = system_powerpc64_linux) and (tai_symbol_end(hp).sym.typ = AT_FUNCTION) then
|
|
- begin
|
|
|
|
- AsmWrite('.');
|
|
|
|
- end;
|
|
|
|
|
|
+ AsmWrite('.');
|
|
AsmWriteLn(tai_symbol_end(hp).sym.name);
|
|
AsmWriteLn(tai_symbol_end(hp).sym.name);
|
|
end;
|
|
end;
|
|
end;
|
|
end;
|