diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2023-05-24 09:37:20 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-05-08 21:45:42 -0400 |
commit | 8c86fb6da0b9c068ee4b4220dee11171e322f67f (patch) | |
tree | 35d458f5d8015f659593fb57df67b5e99afb5462 /apps/plugins/mpegplayer/libmpeg2 | |
parent | 0a89d1d4df0d24f2b73888fe3c457679acfb48aa (diff) | |
download | rockbox-8c86fb6da0b9c068ee4b4220dee11171e322f67f.tar.gz rockbox-8c86fb6da0b9c068ee4b4220dee11171e322f67f.zip |
arm: Use -masm-syntax-unified when compiling with gcc8 or newer
Annoyingly, this makes all of the '.S' files we compile get treated as
divided syntax, so we need to make the syntax in them explicit.
Change-Id: I56a3916b7b24c84a1214a5d6bc4ed4d651f002cf
Diffstat (limited to 'apps/plugins/mpegplayer/libmpeg2')
-rw-r--r-- | apps/plugins/mpegplayer/libmpeg2/idct_arm.S | 2 | ||||
-rw-r--r-- | apps/plugins/mpegplayer/libmpeg2/idct_armv6.S | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/mpegplayer/libmpeg2/idct_arm.S b/apps/plugins/mpegplayer/libmpeg2/idct_arm.S index 90eb5031c7..8ff7c90629 100644 --- a/apps/plugins/mpegplayer/libmpeg2/idct_arm.S +++ b/apps/plugins/mpegplayer/libmpeg2/idct_arm.S | |||
@@ -21,6 +21,8 @@ | |||
21 | 21 | ||
22 | #include "config.h" | 22 | #include "config.h" |
23 | 23 | ||
24 | .syntax unified | ||
25 | |||
24 | .global mpeg2_idct_copy | 26 | .global mpeg2_idct_copy |
25 | .type mpeg2_idct_copy, %function | 27 | .type mpeg2_idct_copy, %function |
26 | .global mpeg2_idct_add | 28 | .global mpeg2_idct_add |
diff --git a/apps/plugins/mpegplayer/libmpeg2/idct_armv6.S b/apps/plugins/mpegplayer/libmpeg2/idct_armv6.S index a259721410..ad28cefcf2 100644 --- a/apps/plugins/mpegplayer/libmpeg2/idct_armv6.S +++ b/apps/plugins/mpegplayer/libmpeg2/idct_armv6.S | |||
@@ -21,6 +21,8 @@ | |||
21 | 21 | ||
22 | #include "config.h" | 22 | #include "config.h" |
23 | 23 | ||
24 | .syntax unified | ||
25 | |||
24 | .global mpeg2_idct_copy | 26 | .global mpeg2_idct_copy |
25 | .type mpeg2_idct_copy, %function | 27 | .type mpeg2_idct_copy, %function |
26 | .global mpeg2_idct_add | 28 | .global mpeg2_idct_add |