<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/sh/Makefile, branch linux-2.6.28.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-10-31T06:58:53Z</updated>
<entry>
<title>sh: SHmedia ISA tuning fixups.</title>
<updated>2008-10-31T06:58:53Z</updated>
<author>
<name>Paul Mundt</name>
</author>
<published>2008-10-31T06:58:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ddb72b02414228844ad46f7cbd42eccea01fb485'/>
<id>urn:sha1:ddb72b02414228844ad46f7cbd42eccea01fb485</id>
<content type='text'>
SH-5 doesn't support any elaborate ISA inheritance schemes (-dsp, -up,
etc.), so only bother with that if we are building an sh32 kernel.

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: Simplify and lock down the ISA tuning.</title>
<updated>2008-10-28T10:37:05Z</updated>
<author>
<name>Paul Mundt</name>
</author>
<published>2008-10-28T10:37:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b2d86a3fd9855380598c0c039e712a20086e119f'/>
<id>urn:sha1:b2d86a3fd9855380598c0c039e712a20086e119f</id>
<content type='text'>
The ISA tuning as it is today can not cope with all of the different
variations that are possible, so all we can do is a best attempt based on
the CPU family. The DSP and FPU generation are already at odds with each
other, and the nommu tuning we weren't handling at all.  Additionally,
for platforms that never had an FPU, the -nofpu variant never existed,
meaning that we would lose out on family granular tuning completely in
certain cases.

With tat out of the way, we were also using -up versions, allowing for
later instructions that branched off of a particular subset of the ISA,
but are not actually reflected on the hardware being targetted. This
leads to some confusion, and the possibility of bogus instructions on
older parts. Kill that off and lock it down to the family being built
for specifically.

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: sh7785lcr: Select uImage as default image target.</title>
<updated>2008-10-28T09:50:00Z</updated>
<author>
<name>Paul Mundt</name>
</author>
<published>2008-10-28T09:50:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1a30603233fdd104aba430fd8f3443160474b6bb'/>
<id>urn:sha1:1a30603233fdd104aba430fd8f3443160474b6bb</id>
<content type='text'>
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: Fix FPU tuning on toolchains with mismatched multilib targets.</title>
<updated>2008-10-28T08:19:35Z</updated>
<author>
<name>Paul Mundt</name>
</author>
<published>2008-10-28T08:19:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8a2fd5f3ab6535035f08d7d0fda90abe73c6d282'/>
<id>urn:sha1:8a2fd5f3ab6535035f08d7d0fda90abe73c6d282</id>
<content type='text'>
Presently there is very little standing in the way of using an SH-4
toolchain for building an SH-2 kernel, and vice versa. Binutils itself
has no limitations whatsoever and supports explicit ISA hinting, which
we already use with varying degrees of success today.

This leaves GCC as the odd one out, due to a rather dubious policy
decision by the GCC folks to not include all of the CPU family variants
in the default list of multilib targets in GCC4. Despite best efforts to
the contrary, libgcc itself already contains awareness of the various CPU
types and remains generally usable, allowing it to safely be referenced
even on a mismatched target (and indeed, explicit ISA tuning by binutils
keeps us honest in terms of ensuring that we do not link incompatible
objects in).

In order to support this, a couple of changes had to be made. Firstly,
the introduction of MAYBE_DECLARE_EXPORT(), which provides a __weak
extern reference for libgcc resident routines when finer-grained
-m&lt;cpu-family&gt; based tuning is not supported by the toolchain. This
fixes up the __sdivsi3_i4i and __udivsi3_i4i references when dealing
with SH-2 kernels linked with an SH-4 libgcc. Secondly, in case where we
are unable to find a suitable match for CPU family tuning but still
have a toolchain that defaults to FP instruction generation, a suitable
nofpu target must be selected. This is accomplished by selecting the
first nofpu multilib target supported by the toolchain, which is
also necessary for selecting the proper libgcc to link against.

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: Migrate common board headers to mach-common/.</title>
<updated>2008-10-20T04:02:48Z</updated>
<author>
<name>Paul Mundt</name>
</author>
<published>2008-10-20T04:02:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7639a4541f7e7abb1295ff8ab39cc2f5842239ae'/>
<id>urn:sha1:7639a4541f7e7abb1295ff8ab39cc2f5842239ae</id>
<content type='text'>
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: Provide a fixed UTS_MACHINE definition for sh64.</title>
<updated>2008-09-12T09:58:28Z</updated>
<author>
<name>Paul Mundt</name>
</author>
<published>2008-09-12T09:58:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=09558748464a9afafe2848a3ad4cfd509c9b0fb6'/>
<id>urn:sha1:09558748464a9afafe2848a3ad4cfd509c9b0fb6</id>
<content type='text'>
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: fix LIBGCC</title>
<updated>2008-08-01T22:23:31Z</updated>
<author>
<name>Adrian Bunk</name>
</author>
<published>2008-08-01T22:13:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=49de935c107a53b0eba336efceb1dc3a8be64f87'/>
<id>urn:sha1:49de935c107a53b0eba336efceb1dc3a8be64f87</id>
<content type='text'>
Commit f15cbe6f1a4b4d9df59142fc8e4abb973302cf44
(sh: migrate to arch/sh/include/) moved KBUILD_CFLAGS
(which is used by LIBGCC) below LIBGCC, causing build
errors like the following:

&lt;--  snip  --&gt;

...
  LD      .tmp_vmlinux1
arch/sh/kernel/built-in.o: In function `module_clk_recalc':
clock-sh4.c:(.text+0x80f0): undefined reference to `__udivsi3_i4i'
...
make[1]: *** [.tmp_vmlinux1] Error 1

&lt;--  snip  --&gt;

Reported-by: Adrian Bunk &lt;bunk@kernel.org&gt;
Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: Revert the location change of auto-generated asm/machtypes.h</title>
<updated>2008-08-01T22:14:09Z</updated>
<author>
<name>Paul Mundt</name>
</author>
<published>2008-08-01T22:14:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4385e12b291a6816987cb88a74fc116f520180f8'/>
<id>urn:sha1:4385e12b291a6816987cb88a74fc116f520180f8</id>
<content type='text'>
This ended up causing build breakage on O= builds, as reported by Adrian:

&lt;--  snip  --&gt;

...
  CC      init/main.o
In file included from /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/sh/include/asm/irq.h:4,
                 from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/irq.h:23,
                 from /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/sh/include/asm/hardirq.h:5,
                 from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/hardirq.h:7,
                 from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/asm-generic/local.h:5,
                 from /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/sh/include/asm/local.h:4,
                 from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/module.h:19,
                 from /home/bunk/linux/kernel-2.6/git/linux-2.6/init/main.c:13:
/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/sh/include/asm/machvec.h:15:27:
error: asm/machtypes.h: No such file or directory
make[2]: *** [init/main.o] Error 1

&lt;--  snip  --&gt;

So we simply move machtypes.h back to its original place. asm-offsets.h is
still generated there regardless, until such a time that we find a better place
to stash auto-generated files.

Reported-by: Adrian Bunk &lt;bunk@kernel.org&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: Kill off stray mach-rsk7203 reference.</title>
<updated>2008-07-29T16:01:08Z</updated>
<author>
<name>Paul Mundt</name>
</author>
<published>2008-07-29T16:01:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9b4d10ff247a440d3d4ec130866f7f5b7d1c7c14'/>
<id>urn:sha1:9b4d10ff247a440d3d4ec130866f7f5b7d1c7c14</id>
<content type='text'>
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
<entry>
<title>sh: Move out individual boards without mach groups.</title>
<updated>2008-07-29T15:13:39Z</updated>
<author>
<name>Paul Mundt</name>
</author>
<published>2008-07-29T15:13:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c8b5d9dcbc94ae5e7d9ed647246df4454d25332e'/>
<id>urn:sha1:c8b5d9dcbc94ae5e7d9ed647246df4454d25332e</id>
<content type='text'>
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
</entry>
</feed>
