Page MenuHomeFreeBSD

D42964.diff
No OneTemporary

D42964.diff

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

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)

Event Timeline