Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F110746728
D42964.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D42964.diff
View Options
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile
--- a/libexec/rtld-elf/Makefile
+++ b/libexec/rtld-elf/Makefile
@@ -38,7 +38,7 @@
libmap.c
MAN?= rtld.1
ACFLAGS+= -DLOCORE
-CFLAGS+= -Wall -DFREEBSD_ELF -DIN_RTLD -ffreestanding
+CFLAGS+= -Wall -DIN_RTLD -ffreestanding
CFLAGS+= -I${SRCTOP}/lib/csu/common
.if exists(${RTLD_ELF_DIR}/${MACHINE_ARCH:S/powerpc64le/powerpc64/})
RTLD_ARCH= ${MACHINE_ARCH:S/powerpc64le/powerpc64/}
diff --git a/stand/common/load_elf.c b/stand/common/load_elf.c
--- a/stand/common/load_elf.c
+++ b/stand/common/load_elf.c
@@ -34,7 +34,6 @@
#include <string.h>
#include <machine/elf.h>
#include <stand.h>
-#define FREEBSD_ELF
#include <sys/link_elf.h>
#include "bootstrap.h"
diff --git a/stand/common/load_elf_obj.c b/stand/common/load_elf_obj.c
--- a/stand/common/load_elf_obj.c
+++ b/stand/common/load_elf_obj.c
@@ -34,7 +34,6 @@
#include <string.h>
#include <machine/elf.h>
#include <stand.h>
-#define FREEBSD_ELF
#include <sys/link_elf.h>
#include "bootstrap.h"
diff --git a/stand/common/reloc_elf.c b/stand/common/reloc_elf.c
--- a/stand/common/reloc_elf.c
+++ b/stand/common/reloc_elf.c
@@ -32,7 +32,6 @@
#include <stand.h>
-#define FREEBSD_ELF
#include <sys/link_elf.h>
#include "bootstrap.h"
diff --git a/usr.sbin/kldxref/ef.c b/usr.sbin/kldxref/ef.c
--- a/usr.sbin/kldxref/ef.c
+++ b/usr.sbin/kldxref/ef.c
@@ -43,7 +43,6 @@
#include <string.h>
#include <unistd.h>
#include <machine/elf.h>
-#define FREEBSD_ELF
#include "ef.h"
diff --git a/usr.sbin/kldxref/ef_obj.c b/usr.sbin/kldxref/ef_obj.c
--- a/usr.sbin/kldxref/ef_obj.c
+++ b/usr.sbin/kldxref/ef_obj.c
@@ -45,7 +45,6 @@
#include <string.h>
#include <unistd.h>
#include <machine/elf.h>
-#define FREEBSD_ELF
#include "ef.h"
diff --git a/usr.sbin/kldxref/kldxref.c b/usr.sbin/kldxref/kldxref.c
--- a/usr.sbin/kldxref/kldxref.c
+++ b/usr.sbin/kldxref/kldxref.c
@@ -42,7 +42,6 @@
#include <sys/linker.h>
#include <sys/stat.h>
#include <sys/module.h>
-#define FREEBSD_ELF
#include <ctype.h>
#include <err.h>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Feb 23, 2:21 PM (4 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16799154
Default Alt Text
D42964.diff (2 KB)
Attached To
Mode
D42964: Stop #defining FREEBSD_ELF
Attached
Detach File
Event Timeline
Log In to Comment