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 /lib/rbcodec | |
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 'lib/rbcodec')
-rw-r--r-- | lib/rbcodec/codecs/demac/libdemac/udiv32_arm.S | 3 | ||||
-rw-r--r-- | lib/rbcodec/codecs/libtta/filter_arm.S | 2 | ||||
-rw-r--r-- | lib/rbcodec/dsp/dsp_arm.S | 1 | ||||
-rw-r--r-- | lib/rbcodec/dsp/dsp_arm_v6.S | 1 |
4 files changed, 7 insertions, 0 deletions
diff --git a/lib/rbcodec/codecs/demac/libdemac/udiv32_arm.S b/lib/rbcodec/codecs/demac/libdemac/udiv32_arm.S index 1d19160a91..514bae2949 100644 --- a/lib/rbcodec/codecs/demac/libdemac/udiv32_arm.S +++ b/lib/rbcodec/codecs/demac/libdemac/udiv32_arm.S | |||
@@ -29,6 +29,9 @@ | |||
29 | ****************************************************************************/ | 29 | ****************************************************************************/ |
30 | 30 | ||
31 | #include "config.h" | 31 | #include "config.h" |
32 | |||
33 | .syntax unified | ||
34 | |||
32 | /* On targets with codec iram, a header file will be generated after an initial | 35 | /* On targets with codec iram, a header file will be generated after an initial |
33 | link of the APE codec, stating the amount of IRAM remaining for use by the | 36 | link of the APE codec, stating the amount of IRAM remaining for use by the |
34 | reciprocal lookup table. */ | 37 | reciprocal lookup table. */ |
diff --git a/lib/rbcodec/codecs/libtta/filter_arm.S b/lib/rbcodec/codecs/libtta/filter_arm.S index 10f1491796..d801a52419 100644 --- a/lib/rbcodec/codecs/libtta/filter_arm.S +++ b/lib/rbcodec/codecs/libtta/filter_arm.S | |||
@@ -26,6 +26,8 @@ | |||
26 | * void hybrid_filter(fltst *fs, int *in) | 26 | * void hybrid_filter(fltst *fs, int *in) |
27 | */ | 27 | */ |
28 | 28 | ||
29 | .syntax unified | ||
30 | |||
29 | #ifdef USE_IRAM | 31 | #ifdef USE_IRAM |
30 | .section .icode, "ax", %progbits | 32 | .section .icode, "ax", %progbits |
31 | #else | 33 | #else |
diff --git a/lib/rbcodec/dsp/dsp_arm.S b/lib/rbcodec/dsp/dsp_arm.S index 864abee4b6..b17c94fe6c 100644 --- a/lib/rbcodec/dsp/dsp_arm.S +++ b/lib/rbcodec/dsp/dsp_arm.S | |||
@@ -22,6 +22,7 @@ | |||
22 | ****************************************************************************/ | 22 | ****************************************************************************/ |
23 | #include "rbcodecconfig.h" | 23 | #include "rbcodecconfig.h" |
24 | 24 | ||
25 | .syntax unified | ||
25 | /**************************************************************************** | 26 | /**************************************************************************** |
26 | * void channel_mode_proc_mono(struct dsp_proc_entry *this, | 27 | * void channel_mode_proc_mono(struct dsp_proc_entry *this, |
27 | * struct dsp_buffer **buf_p) | 28 | * struct dsp_buffer **buf_p) |
diff --git a/lib/rbcodec/dsp/dsp_arm_v6.S b/lib/rbcodec/dsp/dsp_arm_v6.S index aa27ec90f6..facd3facbd 100644 --- a/lib/rbcodec/dsp/dsp_arm_v6.S +++ b/lib/rbcodec/dsp/dsp_arm_v6.S | |||
@@ -20,6 +20,7 @@ | |||
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | #include "rbcodecconfig.h" | 21 | #include "rbcodecconfig.h" |
22 | 22 | ||
23 | .syntax unified | ||
23 | /**************************************************************************** | 24 | /**************************************************************************** |
24 | * void sample_output_mono(struct sample_io_data *this, | 25 | * void sample_output_mono(struct sample_io_data *this, |
25 | * struct dsp_buffer *src, | 26 | * struct dsp_buffer *src, |