diff options
author | Andreas Schwab <schwab@suse.de> | 2024-10-02 11:19:50 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2024-10-02 13:04:30 +0200 |
commit | a36814e1455093fc9ebfcdf6ef39bb0cf3d447da (patch) | |
tree | 896f6ec5f38de2122a3a27229ebd259476ed55dd | |
parent | 5e8cfc5d625e6dd000a0371d21d792836ea7951a (diff) | |
download | glibc-a36814e1455093fc9ebfcdf6ef39bb0cf3d447da.zip glibc-a36814e1455093fc9ebfcdf6ef39bb0cf3d447da.tar.gz glibc-a36814e1455093fc9ebfcdf6ef39bb0cf3d447da.tar.bz2 |
riscv: align .preinit_array (bug 32228)
The section contains an array of pointers, so it should be aligned to
pointer size.
-rw-r--r-- | sysdeps/riscv/start.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/riscv/start.S b/sysdeps/riscv/start.S index ede186e..fd6f1ca 100644 --- a/sysdeps/riscv/start.S +++ b/sysdeps/riscv/start.S @@ -87,6 +87,7 @@ load_gp: ret .section .preinit_array,"aw" + .align PTRLOG .dc.a load_gp /* Define a symbol for the first piece of initialized data. */ |