mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-30 08:59:22 +02:00
* linker script: keep got and toc sections together; allows use of -Cg (PIC) in large programs (e.g. compiler) on powerpc64/linux
git-svn-id: trunk@8591 -
This commit is contained in:
parent
0396a33b06
commit
c6d42528a2
@ -610,8 +610,8 @@ begin
|
||||
the same address within the page on the next page up.}
|
||||
add(' . = ALIGN (0x1000) - ((0x1000 - .) & (0x1000 - 1));');
|
||||
add(' .dynamic : { *(.dynamic) }');
|
||||
add(' .got : { *(.got) }');
|
||||
add(' .got.plt : { *(.got.plt) }');
|
||||
add(' .got : { *(.got .toc) }');
|
||||
add(' .got.plt : { *(.got.plt .toc.plt) }');
|
||||
add(' .data :');
|
||||
add(' {');
|
||||
add(' *(.data .data.* .gnu.linkonce.d.*)');
|
||||
|
Loading…
Reference in New Issue
Block a user