mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 03:46:10 +02:00
* Add remarks from the e-mails
git-svn-id: trunk@777 -
This commit is contained in:
parent
e9f8903be4
commit
738660fb8a
@ -515,6 +515,12 @@ var
|
|||||||
begin
|
begin
|
||||||
if target_info.system=system_powerpc_darwin then
|
if target_info.system=system_powerpc_darwin then
|
||||||
begin
|
begin
|
||||||
|
{On Mac OS X you can't have common symbols in a shared
|
||||||
|
library, since those are in the TEXT section and the text section is
|
||||||
|
read-only in shared libraries (so it can be shared among different
|
||||||
|
processes). The alternate code creates some kind of common symbols in
|
||||||
|
the data segment. The generic code no longer uses common symbols, but
|
||||||
|
this doesn't work on Mac OS X as well.}
|
||||||
if tai_datablock(hp).is_global then
|
if tai_datablock(hp).is_global then
|
||||||
begin
|
begin
|
||||||
asmwrite('.globl ');
|
asmwrite('.globl ');
|
||||||
|
Loading…
Reference in New Issue
Block a user