pmaports/device/testing/linux-samsung-serranolte/linux3.4-ARM-8933-1-replace-Sun-Solaris-style-flag-on-section.patch
Ignacy Kuchciński 5000bf1bc5
samsung-serranolte: Fix build with binutils>=2.41 (MR 4637)
Currently, the build fails with the following error message:

arch/arm/mm/proc-v7.S: Assembler messages:
arch/arm/mm/proc-v7.S:346: Error: junk at end of line, first unrecognized character is `#'
make[1]: *** [scripts/Makefile.build:343: arch/arm/mm/proc-v7.o] Error 1
make: *** [Makefile:952: arch/arm/mm] Error 2

This is because in binutils package, starting with version 2.41, stopped
supporting Sun/Solaris style flags on section directive.

To fix that, use a patch that replaces this with the GNU style flags,
partly backported from mainline.

Fixes: https://gitlab.com/postmarketOS/pmaports/-/issues/2355
2023-12-16 20:52:44 -05:00

Symbolic link
1 line
No EOL
95 B
Diff

../../.shared-patches/linux/linux3.4-ARM-8933-1-replace-Sun-Solaris-style-flag-on-section.patch