Skip to content

Commit

Permalink
vhost: fix linker script syntax
Browse files Browse the repository at this point in the history
[ upstream commit 4f670c5 ]

The punctuation after the `global` keyword should be colon, not
semicolon. The default gcc linker accepts both colon and semicolon, but
the gold linker will report syntax error if we use semicolon after the
`global` keyword.

Fixes: 94c16e8 ("vhost: mark vDPA driver API as internal")

Signed-off-by: Peng Yu <penyu@amazon.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
  • Loading branch information
Peng Yu authored and kevintraynor committed Mar 8, 2022
1 parent 50e654b commit 36466e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vhost/version.map
Expand Up @@ -87,7 +87,7 @@ EXPERIMENTAL {
};

INTERNAL {
global;
global:

rte_vdpa_register_device;
rte_vdpa_relay_vring_used;
Expand Down

0 comments on commit 36466e8

Please sign in to comment.