https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48200
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |ASSIGNED Resolution|FIXED |--- --- Comment #47 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Mark Wielaard from comment #45) > Note that the hack in comment 43 doesn't really work with elfutils since the > .symver attribute doesn't work exactly like the assembly construct with @@@. > The @@@ symver variant see > https://sourceware.org/binutils/docs/as/Symver.html > > The third usage of the .symver directive is: > > .symver name, name2@@@nodename > > When name is not defined within the file being assembled, it is treated as > name2@nodename. When name is defined within the file being assembled, the > symbol name, name, will be changed to name2@@nodename. > > Which means it is renamed, so that it doesn't clash when used in a version > map file. Reopen for this part of the discussion since I misunderstood it at first.