Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 0/4] Add support for FDPIC binaries on ARM
@ 2022-08-02 20:21 Ben Wolsieffer
  2022-08-02 20:21 ` [Buildroot] [PATCH v2 1/4] Revert "arch: drop now useless support for FDPIC" Ben Wolsieffer
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Ben Wolsieffer @ 2022-08-02 20:21 UTC (permalink / raw)
  To: buildroot; +Cc: Ben Wolsieffer, Thomas Petazzoni, Yann E. MORIN

Introduces support for the FDPIC binary format on ARM. FDPIC binaries
enable more efficient use of memory on no-MMU systems.

The first patch reverts the removal of general FDPIC support, while the
second adds support for FDPIC specifically on ARM. The last two patches
disable FDPIC when building Linux and U-Boot.

Changes in v2:
  * Simplify special casing of FDPIC toolchain target
  * Add additional patches to fix building Linux and U-Boot with an
    FDPIC toolchain by passing -mno-fdpic. I have submitted fixes
    upstream to do this automatically, but they have not yet been
    accepted and will take a while to end up in Buildroot.

Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Arnout Vandecappelle <arnout@mind.be>

Ben Wolsieffer (4):
  Revert "arch: drop now useless support for FDPIC"
  arch/arm: add support for FDPIC
  boot/uboot: pass -mno-fdpic if FDPIC is enabled
  linux: pass -mno-fdpic if FDPIC is enabled

 arch/Config.in           | 15 +++++++++++++++
 boot/uboot/uboot.mk      |  5 +++++
 linux/linux.mk           |  8 +++++++-
 package/Makefile.in      |  6 ++++++
 package/uclibc/uclibc.mk |  8 ++++++++
 5 files changed, 41 insertions(+), 1 deletion(-)

-- 
2.37.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2022-08-03 21:07 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-02 20:21 [Buildroot] [PATCH v2 0/4] Add support for FDPIC binaries on ARM Ben Wolsieffer
2022-08-02 20:21 ` [Buildroot] [PATCH v2 1/4] Revert "arch: drop now useless support for FDPIC" Ben Wolsieffer
2022-08-02 22:12   ` Thomas Petazzoni via buildroot
2022-08-03 21:04     ` Ben Wolsieffer
2022-08-02 20:21 ` [Buildroot] [PATCH v2 2/4] arch/arm: add support for FDPIC Ben Wolsieffer
2022-08-02 22:13   ` Thomas Petazzoni via buildroot
2022-08-03 20:54     ` Ben Wolsieffer
2022-08-02 20:21 ` [Buildroot] [PATCH v2 3/4] boot/uboot: pass -mno-fdpic if FDPIC is enabled Ben Wolsieffer
2022-08-02 22:15   ` Thomas Petazzoni via buildroot
2022-08-03 21:07     ` Ben Wolsieffer
2022-08-02 20:21 ` [Buildroot] [PATCH v2 4/4] linux: " Ben Wolsieffer
2022-08-02 22:08 ` [Buildroot] [PATCH v2 0/4] Add support for FDPIC binaries on ARM Thomas Petazzoni via buildroot
2022-08-03 20:52   ` Ben Wolsieffer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox