summaryrefslogtreecommitdiff
path: root/tests/test/tlib2a.pp
diff options
context:
space:
mode:
authorsergei <sergei@3ad0048d-3df7-0310-abae-a5850022a9f2>2011-05-25 16:18:04 +0000
committersergei <sergei@3ad0048d-3df7-0310-abae-a5850022a9f2>2011-05-25 16:18:04 +0000
commita100e545c3076c4d127c10ac95055b36497553ed (patch)
tree21d16c4890d5d501c0dd2e29728e2d0c4411738a /tests/test/tlib2a.pp
parentd0e502b8a520d38be16b7268d3ae7241085e557c (diff)
downloadfpc-a100e545c3076c4d127c10ac95055b36497553ed.tar.gz
* When relocating local symbols on x86_64, put symbol address into addend field of the relocation, resolves #13671.
+ test git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@17556 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'tests/test/tlib2a.pp')
-rw-r--r--tests/test/tlib2a.pp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/test/tlib2a.pp b/tests/test/tlib2a.pp
new file mode 100644
index 0000000000..6b7b6655a5
--- /dev/null
+++ b/tests/test/tlib2a.pp
@@ -0,0 +1,10 @@
+{ %target=linux }
+{ %norun }
+
+library lib2a;
+
+uses ulib2a;
+
+begin
+end.
+