mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-18 05:00:07 +02:00
* enable rodata for ppc (+ darwin renaming to ".const")
git-svn-id: trunk@3642 -
This commit is contained in:
parent
b5ce7e454c
commit
848fa52fa1
@ -237,7 +237,7 @@ implementation
|
||||
'.data',
|
||||
{ why doesn't .rodata work? (FK) }
|
||||
{$warning TODO .rodata not yet working}
|
||||
{$ifdef arm}
|
||||
{$if defined(arm) or defined(powerpc)}
|
||||
'.rodata',
|
||||
{$else arm}
|
||||
'.data',
|
||||
@ -1075,6 +1075,11 @@ implementation
|
||||
inc(debugframecount);
|
||||
exit;
|
||||
end;
|
||||
sec_rodata:
|
||||
begin
|
||||
result := '.const';
|
||||
exit;
|
||||
end;
|
||||
end;
|
||||
result := inherited sectionname(atype,aname);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user