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:51:16 +0000 (08:51 +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 2769eb9..ad3a323 100644 (file)
@@ -131,6 +131,7 @@ SECTIONS
        RO_DATA(8)
 
        /* unwind info */
+       . = ALIGN(4);
        .PARISC.unwind : {
                __start___unwind = .;
                *(.PARISC.unwind)