Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 04/23] arch: drop BR2_BINFMT_FLAT_SEP_DATA support
Date: Thu,  5 Apr 2018 21:50:18 +0200	[thread overview]
Message-ID: <20180405195037.32641-5-thomas.petazzoni@bootlin.com> (raw)
In-Reply-To: <20180405195037.32641-1-thomas.petazzoni@bootlin.com>

This was only used by Blackfin, so there's no good reason to keep it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 Config.in.legacy         |  7 +++++++
 arch/Config.in           | 12 ------------
 package/Makefile.in      |  6 ------
 package/uclibc/uclibc.mk |  8 --------
 4 files changed, 7 insertions(+), 26 deletions(-)

diff --git a/Config.in.legacy b/Config.in.legacy
index 3a080cc565..a752673fbb 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -145,6 +145,13 @@ endif
 ###############################################################################
 comment "Legacy options removed in 2018.05"
 
+config BR2_BINFMT_FLAT_SEP_DATA
+	bool "binfmt FLAT with separate code and data removed"
+	select BR2_LEGACY
+	help
+	  This FLAT binary format was only used on Blackfin, which has
+	  been removed.
+
 config BR2_bfin
 	bool "Blackfin architecture support removed"
 	select BR2_LEGACY
diff --git a/arch/Config.in b/arch/Config.in
index a193cd0068..a66ea0d03b 100644
--- a/arch/Config.in
+++ b/arch/Config.in
@@ -383,18 +383,6 @@ config BR2_BINFMT_FLAT_ONE
 	help
 	  All segments are linked into one memory region.
 
-config BR2_BINFMT_FLAT_SEP_DATA
-	bool "Separate data and code region"
-	# this FLAT binary type technically exists on m68k, but fails
-	# to build numerous packages: due to architecture limitation,
-	# big functions cannot be built in this mode. They cause build
-	# failures such as "Tried to convert PC relative branch to
-	# absolute jump" or "error: value -yyyyy out of range".
-	depends on BR2_BROKEN
-	help
-	  Allow for the data and text segments to be separated and
-	  placed in different regions of memory.
-
 config BR2_BINFMT_FLAT_SHARED
 	bool "Shared binary"
 	depends on BR2_m68k
diff --git a/package/Makefile.in b/package/Makefile.in
index be7a48f647..4325f7b3a9 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -189,12 +189,6 @@ TARGET_CFLAGS += -mid-shared-library -mshared-library-id=0
 TARGET_FCFLAGS += -mid-shared-library -mshared-library-id=0
 TARGET_CXXFLAGS += -mid-shared-library -mshared-library-id=0
 endif
-ifeq ($(BR2_BINFMT_FLAT_SEP_DATA),y)
-TARGET_LDFLAGS += -msep-data
-TARGET_CFLAGS += -msep-data
-TARGET_FCFLAGS += -msep-data
-TARGET_CXXFLAGS += -msep-data
-endif
 
 ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
 TARGET_CROSS = $(HOST_DIR)/bin/$(GNU_TARGET_NAME)-
diff --git a/package/uclibc/uclibc.mk b/package/uclibc/uclibc.mk
index 8d198f669a..cc552a3a36 100644
--- a/package/uclibc/uclibc.mk
+++ b/package/uclibc/uclibc.mk
@@ -68,14 +68,6 @@ define UCLIBC_BINFMT_CONFIG
 	$(call KCONFIG_DISABLE_OPT,UCLIBC_FORMAT_FDPIC_ELF,$(@D)/.config)
 endef
 endif
-ifeq ($(BR2_BINFMT_FLAT_SEP_DATA),y)
-define UCLIBC_BINFMT_CONFIG
-	$(call KCONFIG_DISABLE_OPT,UCLIBC_FORMAT_FLAT,$(@D)/.config)
-	$(call KCONFIG_ENABLE_OPT,UCLIBC_FORMAT_FLAT_SEP_DATA,$(@D)/.config)
-	$(call KCONFIG_DISABLE_OPT,UCLIBC_FORMAT_SHARED_FLAT,$(@D)/.config)
-	$(call KCONFIG_DISABLE_OPT,UCLIBC_FORMAT_FDPIC_ELF,$(@D)/.config)
-endef
-endif
 ifeq ($(BR2_BINFMT_FLAT_SHARED),y)
 define UCLIBC_BINFMT_CONFIG
 	$(call KCONFIG_DISABLE_OPT,UCLIBC_FORMAT_FLAT,$(@D)/.config)
-- 
2.14.3

  parent reply	other threads:[~2018-04-05 19:50 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-05 19:50 [Buildroot] [PATCH 00/23] Remove Blackfin architecture Thomas Petazzoni
2018-04-05 19:50 ` [Buildroot] [PATCH 01/23] support/config-fragments/autobuild: remove Blackfin configuration Thomas Petazzoni
2018-04-05 20:29   ` Yann E. MORIN
2018-04-05 20:38     ` Thomas Petazzoni
2018-04-05 20:47       ` Yann E. MORIN
2018-04-05 19:50 ` [Buildroot] [PATCH 02/23] configs/gdb_bfin_bf512: remove defconfig Thomas Petazzoni
2018-04-05 19:50 ` [Buildroot] [PATCH 03/23] arch: remove Blackfin architecture Thomas Petazzoni
2018-04-05 20:39   ` Yann E. MORIN
2018-04-05 19:50 ` Thomas Petazzoni [this message]
2018-04-05 19:50 ` [Buildroot] [PATCH 05/23] boot/uboot: remove Blackfin related code Thomas Petazzoni
2018-04-05 19:50 ` [Buildroot] [PATCH 06/23] linux: " Thomas Petazzoni
2018-04-05 19:50 ` [Buildroot] [PATCH 07/23] toolchain, gcc, gdb, binutils, uclibc: remove Blackfin code Thomas Petazzoni
2018-04-05 19:50 ` [Buildroot] [PATCH 08/23] gcc: remove Blackfin patches Thomas Petazzoni
2018-04-05 19:50 ` [Buildroot] [PATCH 09/23] binutils: " Thomas Petazzoni
2018-04-05 19:50 ` [Buildroot] [PATCH 10/23] package: remove Blackfin related code Thomas Petazzoni
2018-04-05 19:50 ` [Buildroot] [PATCH 11/23] cairo: remove Blackfin related patch Thomas Petazzoni
2018-04-05 19:50 ` [Buildroot] [PATCH 12/23] ffmpeg: " Thomas Petazzoni
2018-04-05 19:50 ` [Buildroot] [PATCH 13/23] gdb: remove Blackfin patch Thomas Petazzoni
2018-04-05 19:50 ` [Buildroot] [PATCH 14/23] gdb/7.10: " Thomas Petazzoni
2018-04-05 19:50 ` [Buildroot] [PATCH 15/23] graphite2: remove Blackfin related patch Thomas Petazzoni
2018-04-05 19:50 ` [Buildroot] [PATCH 16/23] icu: remove Blackfin patch Thomas Petazzoni
2018-04-05 19:50 ` [Buildroot] [PATCH 17/23] libselinux: " Thomas Petazzoni
2018-04-05 19:50 ` [Buildroot] [PATCH 18/23] libpng: " Thomas Petazzoni
2018-04-05 19:50 ` [Buildroot] [PATCH 19/23] libsemanage: " Thomas Petazzoni
2018-04-05 19:50 ` [Buildroot] [PATCH 20/23] libsepol: " Thomas Petazzoni
2018-04-05 19:50 ` [Buildroot] [PATCH 21/23] p7zip: " Thomas Petazzoni
2018-04-05 19:50 ` [Buildroot] [PATCH 22/23] wayland: " Thomas Petazzoni
2018-04-05 19:50 ` [Buildroot] [PATCH 23/23] php: " Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180405195037.32641-5-thomas.petazzoni@bootlin.com \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox