diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2016-09-20 14:33:01 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-09-29 18:59:49 +0200 |
commit | 3021773c7c3e75e20b693931a19362681e744ea9 (patch) | |
tree | 1d261df1423b1216268f7de2e4c61bc9952322ae /tools | |
parent | 0a900553715c39cfb6170ccc9846b194a4c13ceb (diff) |
MIPS: DEC: Avoid la pseudo-instruction in delay slots
When expanding the la or dla pseudo-instruction in a delay slot the GNU
assembler will complain should the pseudo-instruction expand to multiple
actual instructions, since only the first of them will be in the delay
slot leading to the pseudo-instruction being only partially executed if
the branch is taken. Use of PTR_LA in the dec int-handler.S leads to
such warnings:
arch/mips/dec/int-handler.S: Assembler messages:
arch/mips/dec/int-handler.S:149: Warning: macro instruction expanded into multiple instructions in a branch delay slot
arch/mips/dec/int-handler.S:198: Warning: macro instruction expanded into multiple instructions in a branch delay slot
Avoid this by open coding the PTR_LA macros.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions