vhost: fix linker script syntax
authorPeng Yu <penyu@amazon.com>
Tue, 15 Feb 2022 05:55:52 +0000 (05:55 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 4 Mar 2022 13:50:55 +0000 (14:50 +0100)
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: 94c16e89d779 ("vhost: mark vDPA driver API as internal")
Cc: stable@dpdk.org
Signed-off-by: Peng Yu <penyu@amazon.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
lib/vhost/version.map

index 1202ba9..0a66c58 100644 (file)
@@ -90,7 +90,7 @@ EXPERIMENTAL {
 };
 
 INTERNAL {
-       global;
+       global:
 
        rte_vdpa_register_device;
        rte_vdpa_relay_vring_used;