[RFC PATCH v3 0/4] Add FDPIC support for Renesas RX

Yoshinori Sato yoshinori.sato@nifty.com
Tue Jul 14 13:16:06 GMT 2026


Hello.

This set of patches enables binutils to generate FDPIC binaries
for the RX architecture.

I have confirmed that BusyBox built with this toolchain runs 
successfully on an RX62N evaluation board.

RX's FDPIC specifications can be found here:
https://gitlab.com/yoshinori.sato/gcc/-/wikis/RX-FDPIC

v3 changes:
  - Fix a segmentation fault in ld.
  - Fix incorrect offset calculation of GOTFUNCDESC.

v2 changes:
  - fix got.funcdesc generation.
  
Yoshinori Sato (4):
  RX: bfd rx-linux FDPIC support
  RX: gas rx-linux target FDPIC support
  RX: ld rx-linux target FDPIC support
  RX: rx-linux target FDPIC support

 bfd/bfd-in2.h                  |   11 +
 bfd/elf-bfd.h                  |    1 +
 bfd/elf32-rx.c                 | 2283 +++++++++++++++++++++++++++++++-
 bfd/libbfd.h                   |   11 +
 bfd/reloc.c                    |   22 +
 gas/config/rx-defs.h           |    1 +
 gas/config/rx-parse.y          |   16 +-
 gas/config/tc-rx.c             |  269 +++-
 gas/config/tc-rx.h             |   18 +-
 gas/testsuite/gas/rx/mov.d     |    3 +
 gas/testsuite/gas/rx/mov.sm    |    7 +
 include/elf/rx.h               |   15 +
 ld/emulparams/elf32rx_linux.sh |   26 +-
 13 files changed, 2643 insertions(+), 40 deletions(-)

-- 
2.47.3



More information about the Binutils mailing list