[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/21667] Global alias of common symbol is silently dropped
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug gas/21667] Global alias of common symbol is silently dropped |
Date: |
Thu, 10 Aug 2017 10:17:48 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=21667
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Nick Clifton from comment #1)
> Created attachment 10337 [details]
> Proposed patch
>
> Hi H.J.
>
> Why are you expecting the assembler to complain about a global common
> symbol ?
>
> Anyway, what do you think of this patch ? Is this the kind of thing
> that you had in mind ?
I think it should be an error, not warning, since foo1 is dropped.
.set foo1,foo
.globl foo1
.bss
.p2align 3
foo:
.zero 8
should be used to crease an alias for foo in .bss section.
--
You are receiving this mail because:
You are on the CC list for the bug.