Browse Source

--- Merging r21854 into '.':
U rtl/linux/x86_64/dllprt0.as

# revisions: 21854
r21854 | sergei | 2012-07-10 19:12:34 +0200 (Tue, 10 Jul 2012) | 2 lines
Changed paths:
M /trunk/rtl/linux/x86_64/dllprt0.as

* Fixed label name in .globl and .type directives, was causing every library to contain an unwanted dynamic reference to "_start".

git-svn-id: branches/fixes_2_6@22723 -

marco 12 years ago
parent
commit
f36d4a235a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      rtl/linux/x86_64/dllprt0.as

+ 2 - 2
rtl/linux/x86_64/dllprt0.as

@@ -41,8 +41,8 @@ FPC_SHARED_LIB_START:
 	jmp	_startlib@PLT
 
         .text
-	.globl _start
-	.type _start,@function
+	.globl _startlib
+	.type _startlib,@function
 _startlib:
 #       movq %rdx,%r9                 /* Address of the shared library termination
 #               	                 function.  */