Add _IO_stdin_used global

(cherry picked from commit ae3c0a2151)
This commit is contained in:
Pierre Muller 2022-02-21 21:53:31 +00:00 committed by florian
parent 3c93c77902
commit 52bda8fa7c

View File

@ -156,7 +156,6 @@ hlt:
b hlt
.end _haltproc
.size _haltproc,.-_haltproc
/* Define a symbol for the first piece of initialized data. */
.data
.globl __data_start
@ -174,3 +173,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