mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-06 16:40:47 +00:00
Stop #defining FREEBSD_ELF
This was originally used (along with FREEBSD_AOUT) to prefer the use
of ELF in various tools instead of a.out as part of the a.out to ELF
transition in the 3.x days. The last use of it was removed from
<link.h> in commit 66422f5b7a
back in
2002, but various files still #define it.
Reviewed by: kevans, imp, emaste
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D42964
This commit is contained in:
parent
087c4c90d1
commit
4a3cf5f329
|
@ -38,7 +38,7 @@ SRCS= \
|
|||
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/}
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
|
||||
#include <stand.h>
|
||||
|
||||
#define FREEBSD_ELF
|
||||
#include <sys/link_elf.h>
|
||||
|
||||
#include "bootstrap.h"
|
||||
|
|
|
@ -43,7 +43,6 @@
|
|||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <machine/elf.h>
|
||||
#define FREEBSD_ELF
|
||||
|
||||
#include "ef.h"
|
||||
|
||||
|
|
|
@ -45,7 +45,6 @@
|
|||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <machine/elf.h>
|
||||
#define FREEBSD_ELF
|
||||
|
||||
#include "ef.h"
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue