This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
wrong doc on version script
- From: Lucas De Marchi <lucas dot demarchi at profusion dot mobi>
- To: binutils at sourceware dot org
- Date: Tue, 24 Aug 2010 17:02:22 -0300
- Subject: wrong doc on version script
info says that the right syntax for version scripts is:
[...]
VERS_2.0 {
bar1; bar2;
extern "C++" {
ns::*;
"int f(int, double)";
}
} VERS_1.2;
This does not work. Either it's missing a ";" after `extern "C++" {
... }' or the parser is wrong. Changing the above script to the
following, it does work as expected.
VERS_2.0 {
bar1; bar2;
extern "C++" {
ns::*;
"int f(int, double)";
};
} VERS_1.2;
Lucas De Marchi