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

Kaz Kojima kkojima@rr.iij4u.or.jp
Wed Sep 30 05:40:00 GMT 2015


Rich Felker <dalias@libc.org> 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, and do not use any of the legacy flat binary stuff
> associated with *-uclinux* tuples, so it makes sense to use a *-linux*
> tuple.

The patch is OK.  I've committed it as two separated patches
which have independent ChangeLog entries below, because bfd
and ld have their own ChangeLog files.  Thanks!

Regards,
	kaz
--
[bfd]
2015-09-30  Rich Felker  <dalias@libc.org>

	* config.bfd (targ_selvecs): Add fdpic and misc targets
	for sh*-*-linux*.

[ld]
2015-09-30  Rich Felker  <dalias@libc.org>

	* configure.tgt (targ_extra_emuls): Add fdpic and misc
	emulations to sh*-*-linux* targets.



More information about the Binutils mailing list