parisc: Ensure 32-bit alignment on parisc unwind section
authorHelge Deller <deller@gmx.de>
Sat, 25 Nov 2023 08:16:02 +0000 (09:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Dec 2023 07:52:20 +0000 (08:52 +0100)
commit c9fcb2b65c2849e8ff3be23fd8828312fb68dc19 upstream.

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+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/kernel/vmlinux.lds.S

index 58694d1..548051b 100644 (file)
@@ -130,6 +130,7 @@ SECTIONS
        RO_DATA(8)
 
        /* unwind info */
+       . = ALIGN(4);
        .PARISC.unwind : {
                __start___unwind = .;
                *(.PARISC.unwind)