From 3f823f488a4db8d048892af1a7ee992aab770e5a Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Thu, 5 Feb 2015 21:33:03 -0500 Subject: hppa: Remove warnings and fix conformance errors. (1) Fix warnings. This is a bulk update to fix all the warnings that were causing build failures with -Werror on hppa. The most egregious problems are in dl-fptr.c which needs to be entirely rewritten, thus I've used -Wno-error for that. (2) Fix conformance errors. The sysdep.c file had __syscall_error and syscall in one file which caused conformance issues by including syscall when __syscall_error was linked to. The fix is obviously to split the file and use syscall.c to implement syscall. --- sysdeps/hppa/dl-irel.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sysdeps/hppa/dl-irel.h') diff --git a/sysdeps/hppa/dl-irel.h b/sysdeps/hppa/dl-irel.h index fc7bd0f..eb98d50 100644 --- a/sysdeps/hppa/dl-irel.h +++ b/sysdeps/hppa/dl-irel.h @@ -27,8 +27,7 @@ #define ELF_MACHINE_IREL 1 -/* Implement enough to get the build going again. */ -#warning "NEED STT_GNU_IFUNC IMPLEMENTATION" +/* There is no IFUNC implementation yet. Add stubs to allow builds. */ static inline struct fdesc __attribute ((always_inline)) -- cgit v1.1