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>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user