mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-03 00:58:31 +02:00
* removed rodata support for ppc64 again because it doesn't work on
linux/ppc64. Added explanation why it doesn't work and what's needed git-svn-id: trunk@8304 -
This commit is contained in:
parent
9b76bb94d5
commit
399201ad7d
@ -248,8 +248,13 @@ implementation
|
||||
'.text',
|
||||
'.data',
|
||||
{ why doesn't .rodata work? (FK) }
|
||||
{ sometimes we have to create a data.rel.ro instead of .rodata, e.g. for }
|
||||
{ vtables (and anything else containing relocations), otherwise those are }
|
||||
{ not relocated properly on e.g. linux/ppc64. g++ generates there for a }
|
||||
{ vtable for a class called Window: }
|
||||
{ .section .data.rel.ro._ZTV6Window,"awG",@progbits,_ZTV6Window,comdat }
|
||||
{$warning TODO .rodata not yet working}
|
||||
{$if defined(arm) or defined(powerpc) or defined(powerpc64)}
|
||||
{$if defined(arm) or defined(powerpc)}
|
||||
'.rodata',
|
||||
{$else arm}
|
||||
'.data',
|
||||
|
Loading…
Reference in New Issue
Block a user