[PATCH] enable fdpic targets/emulations for sh*-*-linux*

Oleg Endo oleg.endo@t-online.de
Wed Sep 30 11:20:00 GMT 2015


On Tue, 2015-09-29 at 19:58 -0400, Rich Felker wrote:
> Currently sh/fdpic support in binutils is only enabled for
> sh{1,2,}-*-uclinux*. This patch adds it to the sh*-*-linux* targets
> which are what I'm using for musl's j2/sh2 support. sh2eb-*-linux-musl
> toolchains treat the target as regular Linux (modulo no fork and
> resticted mmap), produce binaries which are forward-compatible with
> sh3/4 Linux,

Do you already have a suggestion how to encode the atomic model that is
being used by the SH1*/SH2* ELF?  Without at least that, true "forward
compatibility" is difficult to achieve, I guess.

Cheers,
Oleg



More information about the Binutils mailing list