* 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:
Jonas Maebe 2007-08-24 17:19:52 +00:00
parent 9b76bb94d5
commit 399201ad7d

View File

@ -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',