Browse Source

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

git-svn-id: trunk@21854 -
sergei 13 years ago
parent
commit
31f9a9d420
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:
 	pushq	 %rbx
         movq     operatingsystem_parameter_argc@GOTPCREL(%rip),%rbx