drm: Branch 'master' - 2 commits

[email protected] (Emil Velikov)
Newsgroups gmane.comp.video.dri.patches
Message-ID <[email protected]>
 tegra/tegra-symbol-check  |    7 +++++--
 tests/etnaviv/Makefile.am |    1 +
 2 files changed, 6 insertions(+), 2 deletions(-)

New commits:
commit 6796859fcce7b9d7157f066a8b0dac3ede6438dd
Author: Bernd Kuhls <[email protected]>
Date:   Mon Apr 3 17:57:22 2017 +0100

    tests/etnaviv: link against libdrm
    
    Fixes link errors detected by buildroot autobuilders:
    
    http://autobuild.buildroot.net/results/68a/68af62f4ab6944d326468818562c05fd5cc55b03/build-end.log
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100530
    Signed-off-by: Bernd Kuhls <[email protected]>
    Reviewed-by: Emil Velikov <[email protected]>

diff --git a/tests/etnaviv/Makefile.am b/tests/etnaviv/Makefile.am
index 06318643..226baee2 100644
--- a/tests/etnaviv/Makefile.am
+++ b/tests/etnaviv/Makefile.am
@@ -28,6 +28,7 @@ etnaviv_2d_test_SOURCES = \
 	write_bmp.h
 
 etnaviv_cmd_stream_test_LDADD = \
+	$(top_builddir)/libdrm.la \
 	$(top_builddir)/etnaviv/libdrm_etnaviv.la
 
 etnaviv_cmd_stream_test_SOURCES = \
commit e5053343de6f910882a43214ce5c7b69a9b07927
Author: Erik Faye-Lund <[email protected]>
Date:   Wed Mar 29 22:24:24 2017 +0000

    tegra: update symbol-check
    
    I get a few more symbols in my build tegra-libraries, so let's
    include these in the whitelist as well.
    
    While we're at it, update the comment at the top.
    
    Signed-off-by: Erik Faye-Lund <[email protected]>
    Reviewed-by: Emil Velikov <[email protected]>

diff --git a/tegra/tegra-symbol-check b/tegra/tegra-symbol-check
index 40208311..420469f4 100755
--- a/tegra/tegra-symbol-check
+++ b/tegra/tegra-symbol-check
@@ -1,11 +1,14 @@
 #!/bin/bash
 
-# The following symbols (past the first five) are taken from the public headers.
-# A list of the latter should be available Makefile.sources/LIBDRM_FREEDRENO_H_FILES
+# The following symbols (past the first nine) are taken from tegra.h.
 
 FUNCS=$(nm -D --format=bsd --defined-only ${1-.libs/libdrm_tegra.so} | awk '{print $3}'| while read func; do
 ( grep -q "^$func$" || echo $func )  <<EOF
+__bss_end__
+__bss_start__
 __bss_start
+__end__
+_bss_end__
 _edata
 _end
 _fini

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.