* [hurd,commited] hurd: Fix libc link
@ 2017-09-03 3:00 Samuel Thibault
0 siblings, 0 replies; 2+ messages in thread
From: Samuel Thibault @ 2017-09-03 3:00 UTC (permalink / raw)
To: libc-alpha; +Cc: Samuel Thibault
This follows db3d848 ('Build divdi3 only for architecture that required
it').
* sysdeps/mach/hurd/i386/Makefile
[$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
[$(subdir) = csu] (sysdep-only-routines): Likewise.
[$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
---
ChangeLog | 4 ++++
sysdeps/mach/hurd/i386/Makefile | 8 ++++++++
2 files changed, 12 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 858848c9ee..b278dbd881 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -22,6 +22,10 @@
functions.
* sysdeps/posix/pause.c: Include <sigsetops.h>.
* sysdeps/posix/system.c: Include <sigsetops.h>.
+ * sysdeps/mach/hurd/i386/Makefile
+ [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
+ [$(subdir) = csu] (sysdep-only-routines): Likewise.
+ [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
2017-09-01 Joseph Myers <joseph@codesourcery.com>
diff --git a/sysdeps/mach/hurd/i386/Makefile b/sysdeps/mach/hurd/i386/Makefile
index 5f988097c2..938d3b046d 100644
--- a/sysdeps/mach/hurd/i386/Makefile
+++ b/sysdeps/mach/hurd/i386/Makefile
@@ -6,3 +6,11 @@ endif
ifeq ($(subdir),debug)
gen-as-const-headers += signal-defines.sym
endif
+
+ifeq ($(subdir),csu)
+ifeq (yes,$(build-shared))
+sysdep_routines += divdi3
+shared-only-routines += divdi3
+CPPFLAGS-divdi3.c = -Din_divdi3_c
+endif
+endif
--
2.14.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [hurd,commited] hurd: Fix libc link
@ 2017-09-03 2:38 Samuel Thibault
0 siblings, 0 replies; 2+ messages in thread
From: Samuel Thibault @ 2017-09-03 2:38 UTC (permalink / raw)
To: libc-alpha; +Cc: Samuel Thibault
* sysdeps/posix/pause.c: Include <sigsetops.h>.
* sysdeps/posix/system.c: Include <sigsetops.h>.
---
ChangeLog | 2 ++
sysdeps/posix/pause.c | 1 +
sysdeps/posix/system.c | 1 +
3 files changed, 4 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 11edadd5fc..858848c9ee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -20,6 +20,8 @@
* sysdeps/posix/pwritev64v2.c: Include <errno.h>.
* sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk): New
functions.
+ * sysdeps/posix/pause.c: Include <sigsetops.h>.
+ * sysdeps/posix/system.c: Include <sigsetops.h>.
2017-09-01 Joseph Myers <joseph@codesourcery.com>
diff --git a/sysdeps/posix/pause.c b/sysdeps/posix/pause.c
index 53e143d98f..7c17f49ffb 100644
--- a/sysdeps/posix/pause.c
+++ b/sysdeps/posix/pause.c
@@ -19,6 +19,7 @@
#include <signal.h>
#include <unistd.h>
#include <sysdep-cancel.h>
+#include <sigsetops.h>
/* Suspend the process until a signal arrives.
This always returns -1 and sets errno to EINTR. */
diff --git a/sysdeps/posix/system.c b/sysdeps/posix/system.c
index d49cc3f01c..56195b529f 100644
--- a/sysdeps/posix/system.c
+++ b/sysdeps/posix/system.c
@@ -24,6 +24,7 @@
#include <sys/wait.h>
#include <libc-lock.h>
#include <sysdep-cancel.h>
+#include <sigsetops.h>
#define SHELL_PATH "/bin/sh" /* Path of the shell. */
--
2.14.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-09-03 3:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-03 3:00 [hurd,commited] hurd: Fix libc link Samuel Thibault
-- strict thread matches above, loose matches on Subject: below --
2017-09-03 2:38 Samuel Thibault
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).