]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86-64: Remove sysdeps/x86_64/x32/dl-machine.h
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 23 Jul 2024 00:47:21 +0000 (17:47 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 12 Aug 2024 17:54:05 +0000 (10:54 -0700)
commiteeff407b196f2ffaadb5d41142688482e4a2a761
tree8a5f35464f802e67aded7085bc5ed5c8122d1ef3
parent1ab7faf86db2f6ebe76e6e077cc7899cd9edc518
x86-64: Remove sysdeps/x86_64/x32/dl-machine.h

Remove sysdeps/x86_64/x32/dl-machine.h by folding x32 ARCH_LA_PLTENTER,
ARCH_LA_PLTEXIT and RTLD_START into sysdeps/x86_64/dl-machine.h.  There
are no regressions on x86-64 nor x32.  There are no changes in x86-64
_dl_start_user.  On x32, _dl_start_user changes are

 <_dl_start_user>:
  mov    %eax,%r12d
+ mov    %esp,%r13d
  mov    (%rsp),%edx
  mov    %edx,%esi
- mov    %esp,%r13d
  and    $0xfffffff0,%esp
  mov    0x0(%rip),%edi        # <_dl_start_user+0x14>
  lea    0x8(%r13,%rdx,4),%ecx

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
(cherry picked from commit 652c6cf26927352fc0e37e4e60c6fc98ddf6d3b4)
sysdeps/x86_64/dl-machine.h
sysdeps/x86_64/x32/dl-machine.h [deleted file]