Message ID | 20220802202142.1770838-1-Ben.Wolsieffer@hefring.com |
---|---|
Headers | show |
Series | Add support for FDPIC binaries on ARM | expand |
Hello Ben, On Tue, 2 Aug 2022 16:21:38 -0400 Ben Wolsieffer <ben.wolsieffer@hefring.com> wrote: > 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. Thanks a lot for this support! Could you comment on which gcc/binutils/gdb versions have support for FDPIC on ARM? Thomas
Thanks for the review! On Wed, Aug 03, 2022 at 12:08:43AM +0200, Thomas Petazzoni wrote: > Hello Ben, > > On Tue, 2 Aug 2022 16:21:38 -0400 > Ben Wolsieffer <ben.wolsieffer@hefring.com> wrote: > > > 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. > > Thanks a lot for this support! Could you comment on which > gcc/binutils/gdb versions have support for FDPIC on ARM? Support was added in GCC 10 and binutils 2.31. It appears that the patches to GDB [1] were never upstreamed, although mainline GDB seems to work more or less fine without them. gdbserver and the kernel need patches to support debugging on Cortex-M processors, but this is unrelated to FDPIC. [1] https://github.com/mickael-guene/gdb/commits/gdb-7.5.1-fdpic