]> git.alrj.org Git - bold.git/blobdiff - runtime/bold_ibh-x86_64.asm
Correct stupid bugs.
[bold.git] / runtime / bold_ibh-x86_64.asm
index 5395cd440fceec25330775fcbe8a914a4611a3c6..69d4610d693046ffeed0a3cfffa75f29facd6d02 100644 (file)
@@ -9,6 +9,10 @@
 ; GNU General Public License as published by the Free Software Foundation,
 ; either version 3 of the License or (at your option) any later version.
 
+; Under Section 7 of GPL version 3, you are granted additional
+; permissions described in the Bold Runtime Library Exception, version
+; 1.0, as published by Amand Tihon.
+
 ;------------------------------------------------------------------------------
 ; alrj's x86_64 version of the import by hash method by parapete, las, leblane.
 ; See the wonderful thread at http://www.pouet.net/topic.php?which=5392 to
@@ -22,7 +26,7 @@
 BITS 64
 CPU X64
 
-global _bold__ibh
+global _bold__ibh_start
 global exit
 
 extern _dt_debug                        ; defined by bold linker
@@ -36,7 +40,7 @@ extern main                             ; must be declared when using this
 
 segment .text
 
-_bold__ibh:
+_bold__ibh_start:
 ; {{{ Do the RTLD
   mov rbx, [_dt_debug]                  ; rbx points to r_debug
   mov rbx, [rbx + 8]                    ; rbx points to link_map