mbox series

[uclibc-ng-devel,v2,0/5] add static PIE support for xtensa

Message ID 20220915193054.2916840-1-jcmvbkbc@gmail.com
Headers show
Series add static PIE support for xtensa | expand

Message

Max Filippov Sept. 15, 2022, 7:30 p.m. UTC
Hello,

this series does a couple cleanups in the ldso, static PIE code and
xtensa code and enables static PIE support for the xtensa architecture.

Changes v1->v2:
- clean up PERFORM_BOOTSTRAP_GOT condition in the ldso
- drop patch that adds PERFORM_BOOTSTRAP_GOT to reloc_static_pie

Max Filippov (5):
  static pie: fix building static PDE
  ldso: clean up PERFORM_BOOTSTRAP_GOT ifdeferry
  xtensa: ldso: make GOT protection adjustment conditional
  xtensa: drop ARCH_NEEDS_BOOTSTRAP_RELOCS
  xtensa: add static pie support

 extra/Configs/Config.in                    |  4 +++-
 ldso/ldso/dl-startup.c                     |  3 ---
 ldso/ldso/xtensa/dl-startup.h              | 15 ++++--------
 ldso/ldso/xtensa/dl-sysdep.h               |  3 ---
 libc/misc/internals/reloc_static_pie.c     |  6 ++---
 libc/sysdeps/linux/xtensa/crt1.S           | 27 ++++++++++++++++++++++
 libpthread/nptl/sysdeps/generic/libc-tls.c |  7 ++++--
 7 files changed, 42 insertions(+), 23 deletions(-)

Comments

Waldemar Brodkorb Sept. 21, 2022, 8:38 a.m. UTC | #1
Hi Max,

thanks for the patches, all applied and pushed.

best regards
 Waldemar

Max Filippov wrote,

> Hello,
> 
> this series does a couple cleanups in the ldso, static PIE code and
> xtensa code and enables static PIE support for the xtensa architecture.
> 
> Changes v1->v2:
> - clean up PERFORM_BOOTSTRAP_GOT condition in the ldso
> - drop patch that adds PERFORM_BOOTSTRAP_GOT to reloc_static_pie
> 
> Max Filippov (5):
>   static pie: fix building static PDE
>   ldso: clean up PERFORM_BOOTSTRAP_GOT ifdeferry
>   xtensa: ldso: make GOT protection adjustment conditional
>   xtensa: drop ARCH_NEEDS_BOOTSTRAP_RELOCS
>   xtensa: add static pie support
> 
>  extra/Configs/Config.in                    |  4 +++-
>  ldso/ldso/dl-startup.c                     |  3 ---
>  ldso/ldso/xtensa/dl-startup.h              | 15 ++++--------
>  ldso/ldso/xtensa/dl-sysdep.h               |  3 ---
>  libc/misc/internals/reloc_static_pie.c     |  6 ++---
>  libc/sysdeps/linux/xtensa/crt1.S           | 27 ++++++++++++++++++++++
>  libpthread/nptl/sysdeps/generic/libc-tls.c |  7 ++++--
>  7 files changed, 42 insertions(+), 23 deletions(-)
> 
> -- 
> 2.30.2
> 
> _______________________________________________
> devel mailing list -- devel@uclibc-ng.org
> To unsubscribe send an email to devel-leave@uclibc-ng.org
>