mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 06:15:33 -04: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 commit66422f5b7aback in 2002, but various files still #define it. Reviewed by: kevans, imp, emaste Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D42964 (cherry picked from commit4a3cf5f329)
This commit is contained in:
parent
b33f2155d3
commit
a697425ccc
7 changed files with 1 additions and 7 deletions
|
|
@ -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/}
|
||||
|
|
|
|||
|
|
@ -35,7 +35,6 @@
|
|||
#include <string.h>
|
||||
#include <machine/elf.h>
|
||||
#include <stand.h>
|
||||
#define FREEBSD_ELF
|
||||
#include <sys/link_elf.h>
|
||||
|
||||
#include "bootstrap.h"
|
||||
|
|
|
|||
|
|
@ -35,7 +35,6 @@
|
|||
#include <string.h>
|
||||
#include <machine/elf.h>
|
||||
#include <stand.h>
|
||||
#define FREEBSD_ELF
|
||||
#include <sys/link_elf.h>
|
||||
|
||||
#include "bootstrap.h"
|
||||
|
|
|
|||
|
|
@ -33,7 +33,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