[Openmp-commits] [openmp] 8d2a447 - [Libomptarget] Remove leftover ELF header from x86 plugin

Joseph Huber via Openmp-commits openmp-commits at lists.llvm.org
Wed Sep 7 11:42:03 PDT 2022


Author: Joseph Huber
Date: 2022-09-07T13:41:40-05:00
New Revision: 8d2a447bf92700e576e037c5f6495f74153cf5e9

URL: https://github.com/llvm/llvm-project/commit/8d2a447bf92700e576e037c5f6495f74153cf5e9
DIFF: https://github.com/llvm/llvm-project/commit/8d2a447bf92700e576e037c5f6495f74153cf5e9.diff

LOG: [Libomptarget] Remove leftover ELF header from x86 plugin

Summary:
We removed the linking support for `gelf.h` in a previous patch. This
header was incorrectly leftover causing build problems on some systems.

Added: 
    

Modified: 
    openmp/libomptarget/plugins/generic-elf-64bit/src/rtl.cpp

Removed: 
    


################################################################################
diff  --git a/openmp/libomptarget/plugins/generic-elf-64bit/src/rtl.cpp b/openmp/libomptarget/plugins/generic-elf-64bit/src/rtl.cpp
index e899888b94eeb..13a25ff119bd8 100644
--- a/openmp/libomptarget/plugins/generic-elf-64bit/src/rtl.cpp
+++ b/openmp/libomptarget/plugins/generic-elf-64bit/src/rtl.cpp
@@ -18,7 +18,6 @@
 #include <cstdlib>
 #include <cstring>
 #include <ffi.h>
-#include <gelf.h>
 #include <link.h>
 #include <list>
 #include <string>


        


More information about the Openmp-commits mailing list