]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
[PATCH] m68knommu: remove useless compiler args
authorPhilipe De Muyter <phdm@macqel.be>
Tue, 27 Jun 2006 02:47:00 +0000 (12:47 +1000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 28 Jun 2006 01:26:36 +0000 (18:26 -0700)
commit3f787bff45e1880044e6ab3900b6a40214ae905f
treeea34ecc7c9e3cd8a704dca0e8769fed8189c6410
parent3c101cf024c3f126e174bf0d8946c587127e3c30
[PATCH] m68knommu: remove useless compiler args

Here is a small patch that made my kernel .text segment shrink by 8k IIRC
on my 5272-based board, by removing `-Wa,-S' from CFLAGS.

The `-Wa,-S' option prevents `gas' from using short forms of jsr.
Without it, `gas' replaces `jsr xxx.l' (6 bytes) by `jsr xxx@pc'
(4 bytes) when possible.  On 5272, both forms are equally fast.

The `-Wa,-m5307' option is useless, because gcc already gives it
to `gas' from the `-m5307' option.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/m68knommu/Makefile