/freebsd/lib/libc/csu/powerpcspe/ |
H A D | Makefile.inc | diff 9684658e35ab033c79e0519e3681d9a194976b71 Sat Oct 19 01:48:52 CEST 2024 Jessica Clarke <jrtc27@FreeBSD.org> libc/csu: Unify INIT_RELOCS across architectures
Some architectures don't need any arguments, whilst others need auxargs, which they get by passing in env thanks to INIT_RELOCS referencing the local variable in __libc_start1(_gcrt) by name. This is unnecessarily confusing, fragile (one has to look at INIT_IRELOCS's definition to see that it uses env) and duplicates code between architectures.
Instead, implement it more like rtld-elf. Each architecture provides an ifunc_init that takes the auxargs directly, and those that don't need it can just ignore it.
Reviewed by: kib MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D47188
|
/freebsd/lib/libc/csu/riscv/ |
H A D | reloc.c | diff 9684658e35ab033c79e0519e3681d9a194976b71 Sat Oct 19 01:48:52 CEST 2024 Jessica Clarke <jrtc27@FreeBSD.org> libc/csu: Unify INIT_RELOCS across architectures
Some architectures don't need any arguments, whilst others need auxargs, which they get by passing in env thanks to INIT_RELOCS referencing the local variable in __libc_start1(_gcrt) by name. This is unnecessarily confusing, fragile (one has to look at INIT_IRELOCS's definition to see that it uses env) and duplicates code between architectures.
Instead, implement it more like rtld-elf. Each architecture provides an ifunc_init that takes the auxargs directly, and those that don't need it can just ignore it.
Reviewed by: kib MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D47188
|
H A D | Makefile.inc | diff 9684658e35ab033c79e0519e3681d9a194976b71 Sat Oct 19 01:48:52 CEST 2024 Jessica Clarke <jrtc27@FreeBSD.org> libc/csu: Unify INIT_RELOCS across architectures
Some architectures don't need any arguments, whilst others need auxargs, which they get by passing in env thanks to INIT_RELOCS referencing the local variable in __libc_start1(_gcrt) by name. This is unnecessarily confusing, fragile (one has to look at INIT_IRELOCS's definition to see that it uses env) and duplicates code between architectures.
Instead, implement it more like rtld-elf. Each architecture provides an ifunc_init that takes the auxargs directly, and those that don't need it can just ignore it.
Reviewed by: kib MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D47188
|
/freebsd/lib/libc/csu/aarch64/ |
H A D | Makefile.inc | diff 9684658e35ab033c79e0519e3681d9a194976b71 Sat Oct 19 01:48:52 CEST 2024 Jessica Clarke <jrtc27@FreeBSD.org> libc/csu: Unify INIT_RELOCS across architectures
Some architectures don't need any arguments, whilst others need auxargs, which they get by passing in env thanks to INIT_RELOCS referencing the local variable in __libc_start1(_gcrt) by name. This is unnecessarily confusing, fragile (one has to look at INIT_IRELOCS's definition to see that it uses env) and duplicates code between architectures.
Instead, implement it more like rtld-elf. Each architecture provides an ifunc_init that takes the auxargs directly, and those that don't need it can just ignore it.
Reviewed by: kib MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D47188
|
H A D | reloc.c | diff 9684658e35ab033c79e0519e3681d9a194976b71 Sat Oct 19 01:48:52 CEST 2024 Jessica Clarke <jrtc27@FreeBSD.org> libc/csu: Unify INIT_RELOCS across architectures
Some architectures don't need any arguments, whilst others need auxargs, which they get by passing in env thanks to INIT_RELOCS referencing the local variable in __libc_start1(_gcrt) by name. This is unnecessarily confusing, fragile (one has to look at INIT_IRELOCS's definition to see that it uses env) and duplicates code between architectures.
Instead, implement it more like rtld-elf. Each architecture provides an ifunc_init that takes the auxargs directly, and those that don't need it can just ignore it.
Reviewed by: kib MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D47188
|
/freebsd/lib/libc/csu/ |
H A D | libc_start1.c | diff 9684658e35ab033c79e0519e3681d9a194976b71 Sat Oct 19 01:48:52 CEST 2024 Jessica Clarke <jrtc27@FreeBSD.org> libc/csu: Unify INIT_RELOCS across architectures
Some architectures don't need any arguments, whilst others need auxargs, which they get by passing in env thanks to INIT_RELOCS referencing the local variable in __libc_start1(_gcrt) by name. This is unnecessarily confusing, fragile (one has to look at INIT_IRELOCS's definition to see that it uses env) and duplicates code between architectures.
Instead, implement it more like rtld-elf. Each architecture provides an ifunc_init that takes the auxargs directly, and those that don't need it can just ignore it.
Reviewed by: kib MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D47188
|
/freebsd/lib/libc/csu/arm/ |
H A D | Makefile.inc | diff 9684658e35ab033c79e0519e3681d9a194976b71 Sat Oct 19 01:48:52 CEST 2024 Jessica Clarke <jrtc27@FreeBSD.org> libc/csu: Unify INIT_RELOCS across architectures
Some architectures don't need any arguments, whilst others need auxargs, which they get by passing in env thanks to INIT_RELOCS referencing the local variable in __libc_start1(_gcrt) by name. This is unnecessarily confusing, fragile (one has to look at INIT_IRELOCS's definition to see that it uses env) and duplicates code between architectures.
Instead, implement it more like rtld-elf. Each architecture provides an ifunc_init that takes the auxargs directly, and those that don't need it can just ignore it.
Reviewed by: kib MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D47188
|
/freebsd/lib/libc/csu/powerpc/ |
H A D | Makefile.inc | diff 9684658e35ab033c79e0519e3681d9a194976b71 Sat Oct 19 01:48:52 CEST 2024 Jessica Clarke <jrtc27@FreeBSD.org> libc/csu: Unify INIT_RELOCS across architectures
Some architectures don't need any arguments, whilst others need auxargs, which they get by passing in env thanks to INIT_RELOCS referencing the local variable in __libc_start1(_gcrt) by name. This is unnecessarily confusing, fragile (one has to look at INIT_IRELOCS's definition to see that it uses env) and duplicates code between architectures.
Instead, implement it more like rtld-elf. Each architecture provides an ifunc_init that takes the auxargs directly, and those that don't need it can just ignore it.
Reviewed by: kib MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D47188
|
/freebsd/lib/libc/csu/powerpc64/ |
H A D | Makefile.inc | diff 9684658e35ab033c79e0519e3681d9a194976b71 Sat Oct 19 01:48:52 CEST 2024 Jessica Clarke <jrtc27@FreeBSD.org> libc/csu: Unify INIT_RELOCS across architectures
Some architectures don't need any arguments, whilst others need auxargs, which they get by passing in env thanks to INIT_RELOCS referencing the local variable in __libc_start1(_gcrt) by name. This is unnecessarily confusing, fragile (one has to look at INIT_IRELOCS's definition to see that it uses env) and duplicates code between architectures.
Instead, implement it more like rtld-elf. Each architecture provides an ifunc_init that takes the auxargs directly, and those that don't need it can just ignore it.
Reviewed by: kib MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D47188
|
H A D | reloc.c | diff 9684658e35ab033c79e0519e3681d9a194976b71 Sat Oct 19 01:48:52 CEST 2024 Jessica Clarke <jrtc27@FreeBSD.org> libc/csu: Unify INIT_RELOCS across architectures
Some architectures don't need any arguments, whilst others need auxargs, which they get by passing in env thanks to INIT_RELOCS referencing the local variable in __libc_start1(_gcrt) by name. This is unnecessarily confusing, fragile (one has to look at INIT_IRELOCS's definition to see that it uses env) and duplicates code between architectures.
Instead, implement it more like rtld-elf. Each architecture provides an ifunc_init that takes the auxargs directly, and those that don't need it can just ignore it.
Reviewed by: kib MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D47188
|
/freebsd/lib/libc/csu/i386/ |
H A D | Makefile.inc | diff 9684658e35ab033c79e0519e3681d9a194976b71 Sat Oct 19 01:48:52 CEST 2024 Jessica Clarke <jrtc27@FreeBSD.org> libc/csu: Unify INIT_RELOCS across architectures
Some architectures don't need any arguments, whilst others need auxargs, which they get by passing in env thanks to INIT_RELOCS referencing the local variable in __libc_start1(_gcrt) by name. This is unnecessarily confusing, fragile (one has to look at INIT_IRELOCS's definition to see that it uses env) and duplicates code between architectures.
Instead, implement it more like rtld-elf. Each architecture provides an ifunc_init that takes the auxargs directly, and those that don't need it can just ignore it.
Reviewed by: kib MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D47188
|
H A D | reloc.c | diff 9684658e35ab033c79e0519e3681d9a194976b71 Sat Oct 19 01:48:52 CEST 2024 Jessica Clarke <jrtc27@FreeBSD.org> libc/csu: Unify INIT_RELOCS across architectures
Some architectures don't need any arguments, whilst others need auxargs, which they get by passing in env thanks to INIT_RELOCS referencing the local variable in __libc_start1(_gcrt) by name. This is unnecessarily confusing, fragile (one has to look at INIT_IRELOCS's definition to see that it uses env) and duplicates code between architectures.
Instead, implement it more like rtld-elf. Each architecture provides an ifunc_init that takes the auxargs directly, and those that don't need it can just ignore it.
Reviewed by: kib MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D47188
|
/freebsd/lib/libc/csu/amd64/ |
H A D | Makefile.inc | diff 9684658e35ab033c79e0519e3681d9a194976b71 Sat Oct 19 01:48:52 CEST 2024 Jessica Clarke <jrtc27@FreeBSD.org> libc/csu: Unify INIT_RELOCS across architectures
Some architectures don't need any arguments, whilst others need auxargs, which they get by passing in env thanks to INIT_RELOCS referencing the local variable in __libc_start1(_gcrt) by name. This is unnecessarily confusing, fragile (one has to look at INIT_IRELOCS's definition to see that it uses env) and duplicates code between architectures.
Instead, implement it more like rtld-elf. Each architecture provides an ifunc_init that takes the auxargs directly, and those that don't need it can just ignore it.
Reviewed by: kib MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D47188
|
H A D | reloc.c | diff 9684658e35ab033c79e0519e3681d9a194976b71 Sat Oct 19 01:48:52 CEST 2024 Jessica Clarke <jrtc27@FreeBSD.org> libc/csu: Unify INIT_RELOCS across architectures
Some architectures don't need any arguments, whilst others need auxargs, which they get by passing in env thanks to INIT_RELOCS referencing the local variable in __libc_start1(_gcrt) by name. This is unnecessarily confusing, fragile (one has to look at INIT_IRELOCS's definition to see that it uses env) and duplicates code between architectures.
Instead, implement it more like rtld-elf. Each architecture provides an ifunc_init that takes the auxargs directly, and those that don't need it can just ignore it.
Reviewed by: kib MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D47188
|