The original computation for shared object symbol alignment is wrong when st_value equals 0. It is very unusual for dso symbols to have st_value equal 0. But when it happens, it causes obscure run time bugs. Differential Revision: https://reviews.llvm.org/D47602 llvm-svn: 334135
8 lines
83 B
ArmAsm
8 lines
83 B
ArmAsm
.globl ver1
|
|
.globl ver2
|
|
ver1 = 0x0
|
|
ver2 = 0x0
|
|
|
|
.type foo,@object
|
|
.comm foo,16,16
|