diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2013-08-09 15:38:43 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2013-08-30 11:56:11 -0400 |
commit | d4d9eab4ade468b6a97b6853fdd72e8f21474324 (patch) | |
tree | cc7ebd45a2fb7f4abc1bde7d362c8f174016dfa2 /arch/tile/lib/atomic_asm_32.S | |
parent | 3fa17c395bb0c358745fbe0c8aa039d6cdac1735 (diff) | |
download | talos-op-linux-d4d9eab4ade468b6a97b6853fdd72e8f21474324.tar.gz talos-op-linux-d4d9eab4ade468b6a97b6853fdd72e8f21474324.zip |
tile: use proper .align directives on __ex_table sections
This may fix a reported bug where an R_TILEGX_64 in a module was not
pointing to an aligned address.
Reported-by: Simon Marchi <simon.marchi@polymtl.ca>
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/lib/atomic_asm_32.S')
-rw-r--r-- | arch/tile/lib/atomic_asm_32.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/tile/lib/atomic_asm_32.S b/arch/tile/lib/atomic_asm_32.S index 30638042691d..6bda3132cd61 100644 --- a/arch/tile/lib/atomic_asm_32.S +++ b/arch/tile/lib/atomic_asm_32.S @@ -164,6 +164,7 @@ STD_ENTRY_SECTION(__atomic\name, .text.atomic) STD_ENDPROC(__atomic\name) .ifc \bitwidth,32 .pushsection __ex_table,"a" + .align 4 .word 1b, __atomic\name .word 2b, __atomic\name .word __atomic\name, __atomic_bad_address |