diff options
| author | Heiko Carstens <hca@linux.ibm.com> | 2024-09-13 15:05:41 +0200 |
|---|---|---|
| committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2024-09-13 17:28:36 +0200 |
| commit | e10863fffe3a377a828f876a39cc1c47567b556f (patch) | |
| tree | d192b905c478eb1403a43c53ec7c9c1f88cfcb11 /arch/s390/kernel/vdso64 | |
| parent | a919390e9194209bac163ec8e19520bdb3fb738b (diff) | |
| download | linux-next-e10863fffe3a377a828f876a39cc1c47567b556f.tar.gz linux-next-e10863fffe3a377a828f876a39cc1c47567b556f.zip | |
s390/vdso: Allow alternatives in vdso code
Implement the infrastructure required to allow alternatives in vdso code.
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'arch/s390/kernel/vdso64')
| -rw-r--r-- | arch/s390/kernel/vdso64/vdso64.lds.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/s390/kernel/vdso64/vdso64.lds.S b/arch/s390/kernel/vdso64/vdso64.lds.S index 37e2a505e81d..fa02c6ae3cac 100644 --- a/arch/s390/kernel/vdso64/vdso64.lds.S +++ b/arch/s390/kernel/vdso64/vdso64.lds.S @@ -42,6 +42,10 @@ SECTIONS .rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) } .rodata1 : { *(.rodata1) } + . = ALIGN(8); + .altinstructions : { *(.altinstructions) } + .altinstr_replacement : { *(.altinstr_replacement) } + .dynamic : { *(.dynamic) } :text :dynamic .eh_frame_hdr : { *(.eh_frame_hdr) } :text :eh_frame_hdr |
