aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-11-25 09:16:02 +0100
committerHelge Deller <deller@gmx.de>2023-11-25 09:43:17 +0100
commitc9fcb2b65c2849e8ff3be23fd8828312fb68dc19 (patch)
tree78b358a5e75c86290e9a85ff77736fe995a3456b
parentb28fc0d8739c03e7b6c44914a9d00d4c6dddc0ea (diff)
downloadlibata-c9fcb2b65c2849e8ff3be23fd8828312fb68dc19.tar.gz
parisc: Ensure 32-bit alignment on parisc unwind section
Make sure the .PARISC.unwind section will be 32-bit aligned. Signed-off-by: Helge Deller <deller@gmx.de> Cc: stable@vger.kernel.org # v6.0+
-rw-r--r--arch/parisc/kernel/vmlinux.lds.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/parisc/kernel/vmlinux.lds.S b/arch/parisc/kernel/vmlinux.lds.S
index 58694d1989c233..548051b0b4aff6 100644
--- a/arch/parisc/kernel/vmlinux.lds.S
+++ b/arch/parisc/kernel/vmlinux.lds.S
@@ -130,6 +130,7 @@ SECTIONS
RO_DATA(8)
/* unwind info */
+ . = ALIGN(4);
.PARISC.unwind : {
__start___unwind = .;
*(.PARISC.unwind)