summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorsuijingfeng <suijingfeng@loongson.cn>2021-07-19 21:05:54 +0800
committerMarge Bot <eric+marge@anholt.net>2021-07-21 13:14:05 +0000
commit2f07c675b911ff4d630556608e5d7d867c7e690c (patch)
tree036edf9d53b3564b701dae34a4113b3f999b19e1 /bin
parent88b234d7a7cd71fcb4955428010f238ec9530431 (diff)
pass egl-symbols-check test on mips64el
Without this patch the egl symbols check test fail on mips platform: 72/87 mesa:egl / egl-symbols-check FAIL 0.20s (exit status 1) src/egl/libEGL.so.1.0.0: unknown symbol exported: _fbss src/egl/libEGL.so.1.0.0: unknown symbol exported: _fdata src/egl/libEGL.so.1.0.0: unknown symbol exported: _ftext See Mips Run say thoes special symbols are automatically defined by the linker to allow programs to discover the start and end of their various section. They are descended from conventions that grew up in UNIX-like OSs, and are peculiar to the MIPS environment. _fbss : Start of uninitialized data segment _fdata : Start of initialized data segment _ftext : Start of text segment Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: suijingfeng <suijingfeng@loongson.cn> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11955>
Diffstat (limited to 'bin')
-rw-r--r--bin/symbols-check.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/symbols-check.py b/bin/symbols-check.py
index c53b20bccbf..c284d4c7a48 100644
--- a/bin/symbols-check.py
+++ b/bin/symbols-check.py
@@ -21,6 +21,9 @@ PLATFORM_SYMBOLS = [
'_end',
'_fini',
'_init',
+ '_fbss',
+ '_fdata',
+ '_ftext',
]
def get_symbols_nm(nm, lib):