[Bug binutils/16673] [Feature Request] Support "-R patterns" for strip

2020-04-06 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=16673 Fangrui Song changed: What|Removed |Added CC||i at maskray dot me --- Comment #1 fro

[Bug binutils/19104] [PATCH] 'add symbol' feature in objcopy

2020-04-06 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=19104 Fangrui Song changed: What|Removed |Added CC||i at maskray dot me --- Comment #13 fr

[Bug gas/25295] Gas should have way to define symbol version without exporting its target

2020-04-06 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=25295 Fangrui Song changed: What|Removed |Added CC||ccoutant at gmail dot com,

[Bug gas/25295] Gas should have way to define symbol version without exporting its target

2020-04-06 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=25295 Fangrui Song changed: What|Removed |Added CC||amodra at gmail dot com -- You are re

[Bug gas/25295] Gas should have way to define symbol version without exporting its target

2020-04-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25295 H.J. Lu changed: What|Removed |Added Attachment #12441|0 |1 is obsolete|

[Bug gas/25295] Gas should have way to define symbol version without exporting its target

2020-04-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25295 --- Comment #17 from H.J. Lu --- (In reply to Fangrui Song from comment #15) > I still hope we can remove `foo` from the symbol table, which is also > Comment #3's request. > It is just very inconvenient for an archive user if the symbol rema

[Bug gas/25295] Gas should have way to define symbol version without exporting its target

2020-04-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25295 H.J. Lu changed: What|Removed |Added Attachment #12440|0 |1 is obsolete|

[Bug gas/25295] Gas should have way to define symbol version without exporting its target

2020-04-06 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=25295 --- Comment #15 from Fangrui Song --- (In reply to H.J. Lu from comment #14) > Created attachment 12440 [details] > The updated patch > > Also support > > [hjl@gnu-cfl-2 pr25295]$ cat a.s > .global foo > foo: > ret > .symve

[Bug gas/25295] Gas should have way to define symbol version without exporting its target

2020-04-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25295 H.J. Lu changed: What|Removed |Added Attachment #12439|0 |1 is obsolete|

[Bug gas/25295] Gas should have way to define symbol version without exporting its target

2020-04-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25295 H.J. Lu changed: What|Removed |Added Target Milestone|--- |2.35 Version|unspecified

[Bug gas/23840] .symver fails with multiple versions [...] for symbol `...'

2020-04-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23840 H.J. Lu changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug gas/25295] Gas should have way to define symbol version without exporting its target

2020-04-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25295 H.J. Lu changed: What|Removed |Added CC||nsz at gcc dot gnu.org --- Comment #13 from

[Bug gas/25295] Gas should have way to define symbol version without exporting its target

2020-04-06 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=25295 --- Comment #12 from Fangrui Song --- (In reply to H.J. Lu from comment #11) > (In reply to Fangrui Song from comment #10) > > Thanks for CCing me. I'm interested on this topic. > > > > I expressed my feelings on > > https://sourceware.org/pi

[Bug gas/25295] Gas should have way to define symbol version without exporting its target

2020-04-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25295 --- Comment #11 from H.J. Lu --- (In reply to Fangrui Song from comment #10) > Thanks for CCing me. I'm interested on this topic. > > I expressed my feelings on > https://sourceware.org/pipermail/binutils/2019-November/108784.html > and https

[Bug gas/25295] Gas should have way to define symbol version without exporting its target

2020-04-06 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=25295 --- Comment #10 from Fangrui Song --- Thanks for CCing me. I'm interested on this topic. I expressed my feelings on https://sourceware.org/pipermail/binutils/2019-November/108784.html and https://sourceware.org/bugzilla/show_bug.cgi?id=23840

[Bug binutils/25750] GNU as has inconsistent behavior when expanding .macro that takes as input directives with arguments

2020-04-06 Thread caij2003 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25750 --- Comment #6 from Jian Cai --- > So this: > > .macro foo insn1 insn2 > \insn1 \insn2 > .endm > > foo .section .sec1 > > Does work. Thanks for the suggestion. I found this issue while working on https://github.com/ClangBuiltL

[Bug gas/25789] [as] x86: duplicate jmp when .nops and jmp are used together

2020-04-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25789 --- Comment #3 from H.J. Lu --- (In reply to Fangrui Song from comment #2) > > Gas limits number of executed NOP paddings to 7 NOPs: > > Then .nops with a large immediate should be rejected. > > A smaller immediate for .nops works, e.g. >

[Bug gas/25789] [as] x86: duplicate jmp when .nops and jmp are used together

2020-04-06 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=25789 --- Comment #2 from Fangrui Song --- > Gas limits number of executed NOP paddings to 7 NOPs: Then .nops with a large immediate should be rejected. A smaller immediate for .nops works, e.g. foo: ret .nops 28 jmp foo -- You are receiving

[Bug gas/25295] Gas should have way to define symbol version without exporting its target

2020-04-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25295 --- Comment #9 from H.J. Lu --- Created attachment 12439 --> https://sourceware.org/bugzilla/attachment.cgi?id=12439&action=edit A patch to extend .symver directive [hjl@gnu-cfl-2 pr25295]$ cat x.s .text .globl foo

[Bug ld/20097] [src/ld/testplug4.c:611]: (warning) Calling 'sizeof' on 'sizeof'.

2020-04-06 Thread ssbssa at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=20097 --- Comment #3 from Hannes Domani --- *** Bug 18015 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.

[Bug gas/25295] Gas should have way to define symbol version without exporting its target

2020-04-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25295 H.J. Lu changed: What|Removed |Added CC||i at maskray dot me --- Comment #8 from H.J

[Bug gas/25295] Gas should have way to define symbol version without exporting its target

2020-04-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25295 --- Comment #7 from H.J. Lu --- (In reply to Andreas Schwab from comment #6) > What you are looking for is a .globl that accepts a versioned symbol to > globalize it, not a variant .symver. I don't think it works well with foo: ret

[Bug gas/25295] Gas should have way to define symbol version without exporting its target

2020-04-06 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=25295 --- Comment #6 from Andreas Schwab --- What you are looking for is a .globl that accepts a versioned symbol to globalize it, not a variant .symver. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug gas/25295] Gas should have way to define symbol version without exporting its target

2020-04-06 Thread hubicka at ucw dot cz
https://sourceware.org/bugzilla/show_bug.cgi?id=25295 --- Comment #5 from hubicka at ucw dot cz --- > Where do you see "export foo and foo@VERS_1"? All I see is that the alias > gets > the same attributes as the original symbol, thus it will be external iff the > original symbol is. Yes, but I w

[Bug gas/25295] Gas should have way to define symbol version without exporting its target

2020-04-06 Thread marxin.liska at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25295 Martin Liška changed: What|Removed |Added CC||hjl.tools at gmail dot com -- You are

[Bug gas/25295] Gas should have way to define symbol version without exporting its target

2020-04-06 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=25295 --- Comment #4 from Andreas Schwab --- Where do you see "export foo and foo@VERS_1"? All I see is that the alias gets the same attributes as the original symbol, thus it will be external iff the original symbol is. -- You are receiving this

[Bug gas/25295] Gas should have way to define symbol version without exporting its target

2020-04-06 Thread hubicka at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=25295 --- Comment #3 from Jan Hubicka --- self contained testcase is in comment #1. Compiling it leads to following assembly: .file "t.c" .text .p2align 4 .globl foo .type foo, @function foo: .LFB0:

[Bug gas/25789] [as] x86: duplicate jmp when .nops and jmp are used together

2020-04-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25789 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug ld/20402] ld.bfd for emits *_RELATIVE relocations against SHN_ABS symbols

2020-04-06 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20402 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com St

[Bug ld/18912] Off-by-one error in ld documentation

2020-04-06 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18912 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com Resolu

[Bug ld/16548] Ld does not handle arbitrary .plt/.got displacements

2020-04-06 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16548 Nick Clifton changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug gas/25295] Gas should have way to define symbol version without exporting its target

2020-04-06 Thread marxin.liska at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25295 Martin Liška changed: What|Removed |Added CC||marxin.liska at gmail dot com --- Comm