Displaying 20 results from an estimated 33 matches for "dregparm".
Did you mean:
regparm
2007 Dec 24
1
Question on menu/Makefile
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Was just working with the latest 3.54, and find that the Makefile in the menu
directory didn't work until I added the /include/syslinux to the file.
< CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -W -Wall -
march=i386 -Os -fomit-frame-pointer -I$(LUDIR)/include -
I$(COM32DIR)/include -I$(COM32DIR)/include/syslinux -Ilibmenu -
D__COM32__
- ---
> CFLAGS = $(M32) -mregparm=3 -DREGPARM=3 -W -Wall -
march=i386 -Os -fomit-frame-pointer -I$(LUDIR)/include -
I$(COM32DIR)/include -Ilibmen...
2016 Oct 20
0
[PATCH] Fix for crash with certain EFIs
...#GCCOPT += $(call gcc_ok,-incoming-stack-boundary=8,)
@@ -48,9 +51,7 @@
GCCOPT += $(call gcc_ok,-falign-labels=0,-malign-labels=0)
GCCOPT += $(call gcc_ok,-falign-loops=0,-malign-loops=0)
-ifeq ($(FWCLASS),EFI)
-GCCOPT += -mno-red-zone
-else
+ifneq ($(FWCLASS),EFI)
GCCOPT += -mregparm=3 -DREGPARM=3
endif
--- syslinux.orig/mk/efi.mk
+++ syslinux/mk/efi.mk
@@ -17,6 +17,7 @@
endif
ifeq ($(ARCH),x86_64)
ARCHOPT = -m64 -march=x86-64
+ ARCHOPT += -mno-red-zone
EFI_SUBARCH = $(ARCH)
endif
@@ -29,7 +32,7 @@
-I$(core)/include -I$(core)/ $(ARCHOPT) \...
2013 Apr 19
2
make issue with syslinux-5.01
...the version on rhel 5.x box. Nasm version 0.98.39
I extracted the tar.gz and ran make in the extracted directory.
Here is where it stops.
gcc -Wp,-MT,rawcon.o,-MD,./.rawcon.o.d -m32 -ffreestanding
-fno-stack-protector -fwrapv -freg-struct-return -march=i386 -Os
-fomit-frame-pointer -mregparm=3 -DREGPARM=3 -msoft-float -fno-exceptions
-fno-asynchronous-unwind-tables -fno-strict-aliasing -falign-functions=0
-falign-jumps=0 -falign-labels=0 -falign-loops=0
-mpreferred-stack-boundary=2 -mincoming-stack-boundary=2
-fvisibility=hidden -g -W -Wall -Wstrict-prototypes -Wno-sign-compare
-I./include -I../co...
2007 Feb 07
2
SYSLINUX 3.36-pre6 (release candidate)
I have, hopefully, found and fixed the issue with non-kernel binaries
that appeared in 3.35. As a result, I have pushed out 3.36-pre6 and am
classifying it as a release candidate. Please try it out, especially if
you have had problems with 3.35.
ftp://ftp.kernel.org/pub/linux/utils/boot/syslinux/Testing/
-hpa
2005 Feb 25
1
klibc wrapper
...r doing this?
like uclibc did with their earlier versions.
I looked at the make process and did a bit reading and figure out this much:
gcc -Wp,[preprocessor options] -MT,[target_name_I_think] tests/hello.o,
-MD,[include dependency] tests/.hello.o.d
-mregparm=3 -DREGPARM=3 [Control how many registers are used to pass integer arguments]
-march=i386 [arch] -Os [optimization] -g [debug info]
-falign-functions=0 -falign-jumps=0 -falign-loops=0 [I think they are to optimize for size]
-nostdinc -iwithprefix [include dir prefix] include -D__KLIBC__ -DBITSIZ...
2016 Oct 19
4
[PATCH] Fix for crash with certain EFIs
Hi Ady,
Would it work if we removed "ifdef EFI_BUILD" condition and just add
-mno-red-zone for all x86_64 builds? If not, do you have any ideas how
to pass this flag?
This could work, because the patch is adding the -mno-red-zone flag
only for x86_64 builds, which are only used in the form of the efi64
target. The efi32 and bios targets are both 32-bit.
BTW. I also tried 6.04-pre1 and
2015 Nov 27
8
[PATCH 0/2] Do not use the "red zone" on EFI
From: Sylvain Gault <sylvain.gault at gmail.com>
The System V ABI for x86-64 specify that a "red zone" is an area of 128 bytes
above the current stack frame. This area can be used by a called function in
order to avoid the overhead of modifying the stack pointer. The direct effect
is that interrupt/event/signal handlers must not write to this area. In the
UEFI calling convention,
2008 Aug 22
1
syslinux-3.71-21-gbd09a6d - build breakage
Got the following trying to build git master:
gcc -std=gnu99 -m32 -fno-stack-protector -mregparm=3 -DREGPARM=3 -march=i386 -Os -W -Wall -march=i386 -fomit-frame-pointer -D__COM32__
-nostdinc -iwithprefix include -I../../com32/libutil/include -I../../com32/include -c -o chain.o chain.c
ld -m elf_i386 -T ../../com32/lib/com32.ld -o chain.elf chain.o ../../com32/libutil/libutil_com.a ../../com32/lib/libcom...
2006 Jan 12
1
[3.20pre4] cannot build menu.c32
Hi!
I have just tried to build menu.c32 but it fails.
3.20pre3 works fine though.
Here is what happens:
bash-3.1$ make
gcc -m32 -mregparm=3 -DREGPARM=3 -W -Wall -march=i386 -Os
-fomit-frame-pointer -I../libutil/include -I../include -D__COM32__ -c
-o menu.o menu.c
menu.c: In function `run_menu':
menu.c:549: warning: variable `done' might be clobbered by `longjmp' or
`vfork'
menu.c:551: warning: variable `top' might be clob...
2010 Jul 28
1
syslinux-4.02-6-ge841d69 build failure
make[1]: Entering directory `/syslinux-4.02-6-ge841d69/dos'
gcc -Wp,-MT,syslxopt.o,-MD,./.syslxopt.o.d -m32 -ffreestanding -fno-stack-protector -fwrapv -freg-struct-return -march=i386
-Os -fomit-frame-pointer -mregparm=3 -DREGPARM=3 -msoft-float -fno-exceptions -fno-asynchronous-unwind-tables -fno-strict-aliasing
-falign-functions=0 -falign-jumps=0 -falign-labels=0 -falign-loops=0 -mpreferred-stack-boundary=2 -mincoming-stack-boundary=2
-g -W -Wall -Wstrict-prototypes -Wno-clobbered -Werror -Wno-sign-compare -g -include...
2004 Feb 22
1
Shell scripts broken in klibc-0.114
...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.2.2-5)".
- Pat
2004 Jun 05
2
Register parameters are unsafe with gcc 3.3.2
...ction 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
2004 Jul 27
1
warning killing for poor !LANG=C|US people
--- ../multipath-tools-0.2.8.1/klibc/klibc/arch/i386/MCONFIG 2004-07-20
10:51:42.000000000 +0200
+++ klibc/klibc/arch/i386/MCONFIG 2004-07-27 17:10:12.000000000 +0200
@@ -13,7 +13,7 @@
# them to be cdecl
# REGPARM = -mregparm=3 -DREGPARM
-gcc_major := $(shell $(CC) -v 2>&1 | awk '/gcc version/{print int($$3)}')
+gcc_major := $(shell unset LANG;$(CC) -v 2>&1 | awk '/gcc version/{print
int($$3)}')
OPTFLAGS = $(REGPARM) -march=i386 -Os
--
2004 Oct 19
1
times.h and building ash
I get this with current linus bk now and klibc 187
[jonsmirl@smirl ash]$ make
sh mknodes.sh nodetypes nodes.c.pat .
gcc -Wp,-MD,.cd.d -mregparm=3 -DREGPARM=3 -march=i386 -Os -g
-falign-functions=0 -falign-jumps=0 -falign-loops=0 -nostdinc
-iwithprefix include -D__KLIBC__ -DBITSIZE=32 -I../include/arch/i386
-I../include/bits32 -I../include -I../linux/include -I../linux/include2
-I../linux/include -DSHELL -DJOBS=0 -I. -c -o cd.o cd.c
gcc -Wp,-MD,.ev...
2004 Oct 16
1
0.184 -- gcc: warning: `-x c' after last input file has no effect
What do I need to do to fix this?
[jonsmirl@smirl klibc-0.184]$ make
make[1]: Entering directory `/home/dri/klibc-0.184/klibc'
gcc -Wp,-MT,syscalls.nrs,-MD,./.syscalls.nrs.d -mregparm=3 -DREGPARM=3
-march=i386 -Os -g -falign-functions=0 -falign-jumps=0 -falign-loops=0
-nostdinc -iwithprefix include -D__KLIBC__ -DBITSIZE=32
-I../include/arch/i386 -I../include/bits32 -I../include
-I../linux/include -I../linux/include2 -I../linux/include
-DWITH_ERRLIST -W -Wall -Wpointer-arith -Wwrite-strings...
2008 Sep 26
3
SYSLINUX 3.72 released
Well, it has to happen at some point, so I have officially pushed out
SYSLINUX 3.72. The big news in this release is of course the ISOLINUX
hybrid mode support (a single image which can be booted either from a
CD-ROM or from a hard disk/USB stick), but there are plenty of more
goodies in here, including the label listing (not technically
completion) on the Tab key.
As usual, huge thanks to
2008 Oct 14
2
SYSLINUX 3.73-pre3
I just pushed out SYSLINUX 3.73-pre3. The only significant difference
over -pre2 was changing MEMDISK to use "safeint" by default.
-hpa
2007 Mar 16
2
SYSLINUX 3.40-pre15 -- more library work, Linux-loading demo module
Hello all,
I have done more work on the syslinux shuffle library. This is more
higher-level work, in particular it is specific to loading Linux kernels.
This stuff allows manipulating initramfs on the fly, if desired. As a
demo, I have written up a module which loads a Linux kernel with all the
usual stuff, but optionally adds the DHCP packet from the PXE stack into
a file named
2009 Dec 14
1
Applied the generic path searching to ISOLINUX
Hi all,
I just applied the generic path searching to ISOLINUX, and you can
check it here:
http://git.zytor.com/?p=users/liu/gsoc09_liu.git
since commit 4bb194f14a43674cced3a8c35d5e625e59db32dc.
hpa, for now, all the fs code have been converted to new-style
interface and I have done my best to make all the fs C code be clean
and readable. Well, it would be great if you take a minute to
2003 Mar 03
0
Re: [BK PATCH] klibc for 2.5.63
..."$(1)"; else echo "$(2)"; fi)
+
FORCE:
===== usr/lib/arch/i386/MCONFIG 1.1 vs edited =====
--- 1.1/usr/lib/arch/i386/MCONFIG Sat Feb 15 23:53:51 2003
+++ edited/usr/lib/arch/i386/MCONFIG Mon Mar 3 21:18:08 2003
@@ -13,12 +13,19 @@
# them to be cdecl
# REGPARM = -mregparm=3 -DREGPARM
-OPTFLAGS = $(REGPARM) -march=i386 -Os -fomit-frame-pointer \
- -malign-functions=0 -malign-jumps=0 -malign-loops=0
-BITSIZE = 32
+#check_usergcc = $(shell if $(USERCC) $(1) -S -o /dev/null -xc /dev/null > \
+ /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; f...