Message ID | 20210401091240.GX1179226@tucnak |
---|---|
State | New |
Headers | show |
Series | doc: Fix up symver attribute documentation | expand |
--- gcc/doc/extend.texi.jj 2021-03-03 09:43:57.898723872 +0100 +++ gcc/doc/extend.texi 2021-04-01 10:56:25.604914998 +0200 @@ -3851,13 +3851,13 @@ output. One can also define multiple version for a given symbol. @smallexample -__attribute__ ((__symver__ ("foo@@VERS_2"), ("foo@@VERS_3"))) +__attribute__ ((__symver__ ("foo@@VERS_2"), __symver__ ("foo@@VERS_3"))) int symver_foo_v1 (void) @{ @} -__attribute__ ((__symver__ ("bar@@VERS_2")))) -__attribute__ ((__symver__ ("bar@@VERS_3")))) +__attribute__ ((__symver__ ("bar@@VERS_2"))) +__attribute__ ((__symver__ ("bar@@VERS_3"))) int symver_bar_v1 (void) @{ @}