summaryrefslogtreecommitdiff
path: root/compiler/cclasses.pas
diff options
context:
space:
mode:
authorsergei <sergei@3ad0048d-3df7-0310-abae-a5850022a9f2>2013-07-30 09:23:48 +0000
committersergei <sergei@3ad0048d-3df7-0310-abae-a5850022a9f2>2013-07-30 09:23:48 +0000
commit8bae242f819f052fd5b9ea2781b5b79e9438ff67 (patch)
treec9e03736a2bdb238fef8cc03e7d1fb32499062ee /compiler/cclasses.pas
parent29545315d054e9fba9106f8fd797e12d45126137 (diff)
downloadfpc-8bae242f819f052fd5b9ea2781b5b79e9438ff67.tar.gz
+ Property TObjSymbol.ObjData, allows to access owning TObjData for external/common symbols, i.e. ones with ObjSection=nil.
* For common symbols, report objdata of the original ObjSymbol, not of the resolving one, so the map file shows where it comes from. + TElfExeOutput.OrderOrphanSections method, handles object sections not mentioned in script similar to ld. - t_linux.pas: removed sections that are not part of ld scripts, they are now handled by OrderOrphanSections. git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@25184 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/cclasses.pas')
-rw-r--r--compiler/cclasses.pas1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/cclasses.pas b/compiler/cclasses.pas
index 53485d2814..b8639fd0e3 100644
--- a/compiler/cclasses.pas
+++ b/compiler/cclasses.pas
@@ -273,6 +273,7 @@ type
procedure Rename(const ANewName:TSymStr);
property Name:TSymStr read GetName;
property Hash:Longword read GetHash;
+ property OwnerList: TFPHashObjectList read FOwner;
end;
TFPHashObjectList = class(TObject)