Future MC may error for a changed symbol binding. This may be a preferred resolution to https://bugs.llvm.org/show_bug.cgi?id=38921 See https://sourceware.org/pipermail/binutils/2020-March/110399.html
12 lines
112 B
ArmAsm
12 lines
112 B
ArmAsm
.globl foo
|
|
.type foo, @object
|
|
.size foo, 4
|
|
foo:
|
|
.long 1
|
|
|
|
.weak bar
|
|
.type bar, @object
|
|
.size bar, 4
|
|
bar:
|
|
.long 2
|