Explorar o código

Add _IO_stdin_used global

Pierre Muller %!s(int64=3) %!d(string=hai) anos
pai
achega
ae3c0a2151
Modificáronse 1 ficheiros con 6 adicións e 1 borrados
  1. 6 1
      rtl/linux/mips/cprt0.as

+ 6 - 1
rtl/linux/mips/cprt0.as

@@ -161,7 +161,6 @@ hlt:
         b hlt
         .end _haltproc
         .size _haltproc,.-_haltproc
-
 /* Define a symbol for the first piece of initialized data.  */
  .data
  .globl __data_start
@@ -179,3 +178,9 @@ __data_start:
         .comm operatingsystem_parameter_argc,4
         .comm operatingsystem_parameter_argv,4
 
+/* Also define _IO_stdin_used as it is used to */
+/*   distinguish different libc version */
+ .section .rodata
+ .globl _IO_stdin_used
+_IO_stdin_used:
+ .long 0x20001