From d35b5008f79e6a2f2142c0c3b87f9780779e1d86 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 20 Nov 2002 10:41:04 +0000 Subject: Patch from Stefan Allius: - Invert all FORCE_SHAREABLE_TEXT_SEGMENTS checks. - Define FORCE_SHAREABLE_TEXT_SEGMENTS in the Makefile, so it can be configured by the config system. - linuxelf.h inspects that we don't combine FORCE_SHAREABLE_TEXT_SEGMENTS and SVR4_BUGCOMPAT - Add a new config option for FORCE_SHAREABLE_TEXT_SEGMENTS --- ldso/ldso/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ldso/ldso/Makefile') diff --git a/ldso/ldso/Makefile b/ldso/ldso/Makefile index 53c3c6385..13063616f 100644 --- a/ldso/ldso/Makefile +++ b/ldso/ldso/Makefile @@ -55,6 +55,9 @@ ifeq ($(strip $(SUPPORT_LD_DEBUG_EARLY)),y) XXFLAGS+=-D__SUPPORT_LD_DEBUG_EARLY__ endif +ifeq ($(strip $(FORCE_SHAREABLE_TEXT_SEGMENTS)),y) +XXFLAGS+=-DFORCE_SHAREABLE_TEXT_SEGMENTS +endif all: lib -- cgit v1.2.3