File: x32-define-munmap-and-exit.diff

package info (click to toggle)
dietlibc 0.34~cvs20160606-19
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,768 kB
  • sloc: ansic: 71,692; asm: 13,008; cpp: 1,860; makefile: 817; sh: 300; perl: 62
file content (14 lines) | stat: -rw-r--r-- 583 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Build __munmap_and_exit on x32
 __munmap_and_exit is required by libpthread, so build it. (The x86_64
 variant thereof is compatible with x32, so just reference it from
 Makefile.add.)
Author: Christian Seiler <christian@iwakd.de>
Last-Update: 2017-01-05

--- a/x32/Makefile.add
+++ b/x32/Makefile.add
@@ -1,3 +1,3 @@
 CFLAGS := -Os -fstrict-aliasing -momit-leaf-frame-pointer -mfancy-math-387
 VPATH  := x32:x86_64:syscalls.s:$(VPATH)
-LIBOBJ += $(OBJDIR)/arch_prctl.o $(OBJDIR)/__CAS.o
+LIBOBJ += $(OBJDIR)/arch_prctl.o $(OBJDIR)/__CAS.o $(OBJDIR)/__munmap_and_exit.o