Displaying 7 results from an estimated 7 matches for "regparm_opt".
2004 Feb 21
1
REGPARM_OPT
This is enabled in v114 for arch/i386. The comments read like you meant to leave
it disabled by default.
=====
Jon Smirl
jonsmirl@yahoo.com
__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools
2004 Feb 22
1
Shell scripts broken in klibc-0.114
...gister parameters, since the
following patch fixes the problem for me:
--- klibc/arch/i386/MCONFIG~ 2004-02-21 17:49:26.000000000 -0500
+++ klibc/arch/i386/MCONFIG 2004-02-22 17:59:58.000000000 -0500
@@ -9,7 +9,7 @@
# Enable this to compile with register parameters; only safe for
# gcc > 3
-REGPARM_OPT := -mregparm=3 -DREGPARM
+#REGPARM_OPT := -mregparm=3 -DREGPARM
gcc_major := $(shell $(CC) -v 2>&1 | awk '/gcc version/{print int($$3)}')
This is a real downer when using klibc+ash for /linuxrc :-).
My GCC identifies itself as "gcc version 3.2.2 20030222 (Red Hat Linux
3...
2004 Jun 05
2
Register parameters are unsafe with gcc 3.3.2
...ash" shell does not function properly.
Testcase:
read cmdline </proc/cmdline
echo $cmdline
The first command prints a message:
cannot open /proc/cmdline: error 14
Other shell redirections don't work either. When I comment out the
following line in klibc/klibc/arch/i386/MCONFIG:
# REGPARM_OPT := -mregparm=3 -DREGPARM
and rebuild klibc, everything works. Please take some action against
this error, e.g. update the README file.
--
Alexander E. Patrakov
2005 Feb 10
1
[PATCH] make DEBUG=true
...===
--- klibc/arch/i386/MCONFIG (revision 1003)
+++ klibc/arch/i386/MCONFIG (working copy)
@@ -13,7 +13,7 @@
gcc_major := $(shell echo __GNUC__ | $(CC) -E -xc - | tail -n 1)
-OPTFLAGS = $(REGPARM) -march=i386 -Os -g
+OPTFLAGS = $(REGPARM) -march=i386 -Os
ifeq ($(gcc_major),3)
REGPARM := $(REGPARM_OPT)
2004 Jun 07
2
run-init warning
Please be aware that I HAVE NOT TESTED THIS PROGRAM... please try it in
a "safe" environment since for all I know it could nuke your "real root"
by mistake.
-hpa
2006 Jun 26
0
[klibc 24/43] i386 support for klibc
...le -*-
+#
+# arch/i386/MCONFIG
+#
+# Special rules for this architecture. Note that this is actually
+# included from the main Makefile, and that pathnames should be
+# accordingly.
+#
+
+# Enable this to compile with register parameters; only safe for
+# gcc >= 3
+
+ifeq ($(CONFIG_REGPARM),y)
+REGPARM_OPT := -mregparm=3 -D_REGPARM=3
+endif
+
+gcc_align_option := $(call cc-option, \
+ -falign-functions=0 -falign-jumps=0 -falign-loops=0, \
+ -malign-functions=0 -malign-jumps=0 -malign-loops=0)
+gcc_m32_option := $(call cc-option, -m32, )
+
+KLIBCOPTFLAGS = -march=i386 -Os -g -fomit-frame-point...
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In
particular, the patchset has been reorganized so as not to break
git-bisect.
Additionally, this updates the patch base to 2.6.17-git12
(d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main
difference on the klibc side is removal of obsolete code.
This is also available as a git tree at: