[PATCH] sh: Fix __SH_SYSCALL_TRAP_BASE for SH2A architecture

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Feb 20 15:13:59 UTC 2009


On Fri, Feb 20, 2009 at 03:59:11PM +0100, Carmelo AMOROSO wrote:

>> oh, and probably -DFOO=__sh2__ -DBAR=__SH2A__
>why ? I would expect to be defined by gcc itself.
>At least cross gcc for sh4 defines the following
>
>#define __sh__ 1
>#define __SH4__ 1

via gcc/config/sh/sh.h, exactly, so why not trust the compiler there?
Anyway, i do not have a strong opinion on that one.

Thanks for the prompt repair!
cheers,
Bernhard


More information about the uClibc mailing list