diff options
author | Martin Storsjö <martin@martin.st> | 2019-10-11 13:17:36 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2019-10-11 13:55:51 +0300 |
commit | a6228f47f0eebcdfebb1753a786e3e1654b51ea4 (patch) | |
tree | 4e7b3a5a9971080e70311c0dc09e99cb2f044e0f | |
parent | 5f86e719ec4e24023e30cd61dc080be3ddba1a31 (diff) |
arm64: ipred: Make sure all symbols are aligned
If building with debug information enabled, binutils error out with
"unaligned opcodes detected in executable segment", if there are
symbols (even local ones that don't end up in the symbol table)
that point to unaligned addresses in the text section.
This fixes issue #300.
-rw-r--r-- | src/arm/64/ipred.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arm/64/ipred.S b/src/arm/64/ipred.S index 41b3c1c..9513212 100644 --- a/src/arm/64/ipred.S +++ b/src/arm/64/ipred.S @@ -2244,6 +2244,7 @@ L(ipred_cfl_ac_420_tbl): .hword L(ipred_cfl_ac_420_tbl) - L(ipred_cfl_ac_420_w16) .hword L(ipred_cfl_ac_420_tbl) - L(ipred_cfl_ac_420_w8) .hword L(ipred_cfl_ac_420_tbl) - L(ipred_cfl_ac_420_w4) + .hword 0 L(ipred_cfl_ac_420_w16_tbl): .hword L(ipred_cfl_ac_420_w16_tbl) - L(ipred_cfl_ac_420_w16_wpad0) @@ -2432,6 +2433,7 @@ L(ipred_cfl_ac_422_tbl): .hword L(ipred_cfl_ac_422_tbl) - L(ipred_cfl_ac_422_w16) .hword L(ipred_cfl_ac_422_tbl) - L(ipred_cfl_ac_422_w8) .hword L(ipred_cfl_ac_422_tbl) - L(ipred_cfl_ac_422_w4) + .hword 0 L(ipred_cfl_ac_422_w16_tbl): .hword L(ipred_cfl_ac_422_w16_tbl) - L(ipred_cfl_ac_422_w16_wpad0) |