Commit 2327cdd2 authored by Adam Jackson's avatar Adam Jackson

Bug #1087: Make sure all the *Weak symbols are documented in the import

    list, so the loader knows not to complain about unresolved symbols when
    an optional module isn't loaded. This typically manifests as warnings
    about fbdevHW symbols when the user isn't using the framebuffer
    console.
parent bd1e31bd
...@@ -137,7 +137,9 @@ static const char *shadowSymbols[] = { ...@@ -137,7 +137,9 @@ static const char *shadowSymbols[] = {
"shadowInit", "shadowInit",
"shadowSetup", "shadowSetup",
"shadowUpdatePacked", "shadowUpdatePacked",
"shadowUpdatePackedWeak",
"shadowUpdateRotatePacked", "shadowUpdateRotatePacked",
"shadowUpdateRotatePackedWeak",
NULL NULL
}; };
...@@ -158,7 +160,8 @@ static const char *fbdevHWSymbols[] = { ...@@ -158,7 +160,8 @@ static const char *fbdevHWSymbols[] = {
"fbdevHWUnmapVidmem", "fbdevHWUnmapVidmem",
/* colormap */ /* colormap */
"fbdevHWLoadpalette", "fbdevHWLoadPalette",
"fbdevHWLoadPaletteWeak",
/* ScrnInfo hooks */ /* ScrnInfo hooks */
"fbdevHWAdjustFrameWeak", "fbdevHWAdjustFrameWeak",
...@@ -168,10 +171,12 @@ static const char *fbdevHWSymbols[] = { ...@@ -168,10 +171,12 @@ static const char *fbdevHWSymbols[] = {
"fbdevHWRestore", "fbdevHWRestore",
"fbdevHWSave", "fbdevHWSave",
"fbdevHWSaveScreen", "fbdevHWSaveScreen",
"fbdevHWSaveScreenWeak",
"fbdevHWSwitchModeWeak", "fbdevHWSwitchModeWeak",
"fbdevHWValidModeWeak", "fbdevHWValidModeWeak",
"fbdevHWDPMSSet", "fbdevHWDPMSSet",
"fbdevHWDPMSSetWeak",
NULL NULL
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment