Mesa (main): pass egl-symbols-check test on mips64el

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jul 21 13:35:54 UTC 2021


Module: Mesa
Branch: main
Commit: 2f07c675b911ff4d630556608e5d7d867c7e690c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2f07c675b911ff4d630556608e5d7d867c7e690c

Author: suijingfeng <suijingfeng at loongson.cn>
Date:   Mon Jul 19 21:05:54 2021 +0800

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 at redhat.com>
Signed-off-by: suijingfeng <suijingfeng at loongson.cn>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11955>

---

 bin/symbols-check.py | 3 +++
 1 file changed, 3 insertions(+)

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):



More information about the mesa-commit mailing list