File tree 2 files changed +5
-10
lines changed
lib/libc/glibc/sysdeps/s390/s390-64
2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 61
61
_start:
62
62
cfi_startproc
63
63
/* Mark r14 as undefined in order to stop unwinding here! */
64
- /* zig patch: r14 -> %r14. revert with llvm 20. */
65
- cfi_undefined (%r14 )
64
+ cfi_undefined (r14)
66
65
/* Load argc and argv from stack. */
67
66
la %r4,8 (%r15 ) # get argv
68
67
lg %r3,0 (%r15 ) # get argc
@@ -86,8 +85,7 @@ _start:
86
85
87
86
/* Ok, now branch to the libc main routine. */
88
87
#ifdef PIC
89
- /* zig patch: GOTENT -> GOT. revert with llvm 20. */
90
- larl %r2,main@GOT # load pointer to main
88
+ larl %r2,main@GOTENT # load pointer to main
91
89
lg %r2,0 (%r2)
92
90
brasl %r14 ,__libc_start_main@plt
93
91
#else
Original file line number Diff line number Diff line change 60
60
_start:
61
61
cfi_startproc
62
62
/* Mark r14 as undefined in order to stop unwinding here! */
63
- /* zig patch: r14 -> %r14. revert with llvm 20. */
64
- cfi_undefined (%r14 )
63
+ cfi_undefined (r14)
65
64
/* Load argc and argv from stack. */
66
65
la %r4,8 (%r15 ) # get argv
67
66
lg %r3,0 (%r15 ) # get argc
@@ -88,8 +87,7 @@ _start:
88
87
# ifdef SHARED
89
88
/* Used for dynamic linked position independent executable.
90
89
=> Scrt1.o */
91
- /* zig patch: GOTENT -> GOT. revert with llvm 20. */
92
- larl %r2,main@GOT # load pointer to main
90
+ larl %r2,main@GOTENT # load pointer to main
93
91
lg %r2,0 (%r2)
94
92
# else
95
93
/* Used for dynamic linked position dependent executable.
@@ -121,8 +119,7 @@ _start:
121
119
use of GOT relocations before __libc_start_main is called. */
122
120
__wrap_main:
123
121
cfi_startproc
124
- /* zig patch: GOTENT -> GOT. revert with llvm 20. */
125
- larl %r1,main@GOT # load pointer to main
122
+ larl %r1,main@GOTENT # load pointer to main
126
123
lg %r1,0 (%r1)
127
124
br %r1
128
125
cfi_endproc
You can’t perform that action at this time.
0 commit comments