Add UNSUPPORTED check in elf/tst-pldd.

Message ID 7a048802-0a51-23ea-1a1c-595463dedb03@linux.ibm.com
State Committed
Headers

Commit Message

Stefan Liebler Sept. 19, 2019, 10:28 a.m. UTC
  On 9/18/19 5:17 PM, Joseph Myers wrote:
> This has broken the build for i686-gnu.
> 
> In file included from support_ptrace.c:22:
> ../include/sys/prctl.h:2:15: fatal error: sys/prctl.h: No such file or directory
>   #include_next <sys/prctl.h>
>                 ^~~~~~~~~~~~~
> 

Sorry for that.
This include of sys/prctl.h is a leftover from a previous patch version.
I've just committed the attached patch which just removes it.

Thanks.
Stefan
  

Patch

commit 0e055c90cadf2577daaaa2bb8fcb2d0542403d8f
Author: Stefan Liebler <stli@linux.ibm.com>
Date:   Thu Sep 19 11:00:55 2019 +0200

    Fix building support_ptrace.c on i686-gnu.
    
    On i686-gnu the build is broken:
    In file included from support_ptrace.c:22:
    ../include/sys/prctl.h:2:15: fatal error: sys/prctl.h: No such file or directory
     #include_next <sys/prctl.h>
    
    This patch just removes the unused prctl.h inclusion.
    
    ChangeLog:
    
            * support/support_ptrace.c: Remove inclusion of sys/prctl.h.

diff --git a/support/support_ptrace.c b/support/support_ptrace.c
index 616b08cff3..a733adf2c8 100644
--- a/support/support_ptrace.c
+++ b/support/support_ptrace.c
@@ -19,7 +19,6 @@ 
 #include <support/check.h>
 #include <support/xstdio.h>
 #include <support/xptrace.h>
-#include <sys/prctl.h>
 
 int
 support_ptrace_scope (void)