From 57b47af94b3c886ca65e32c41a9f665baaf823f0 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 20 Jan 2005 20:10:02 +0000 Subject: Update. 2005-01-20 Ulrich Drepper * posix/execl.c: Do not allocate potentially large buffers on the stack. * posix/execle.c: Likewise. * posix/execlp.c: Likewise. * posix/execlp.c: Likewise. (script_execute): Removed. (allocate_scripts_argv): New function. Called at most once to allocate memory, not every time a script is run. Adjust caller. * sysdeps/generic/wordexp.c (exec_comm): Add a few TEMP_FAILURE_RETRY. Reorganize code to avoid multiple calls to exec_comm_child. (exec_comm_child): Can now be inlined. * posix/Makefile: Add -fomit-frame-pointer for a few more files. * stdlib/Makefile: Likewise. --- posix/Makefile | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'posix/Makefile') diff --git a/posix/Makefile b/posix/Makefile index bdd3e71..1fdb57c 100644 --- a/posix/Makefile +++ b/posix/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1991-1999, 2000-2003, 2004 Free Software Foundation, Inc. +# Copyright (C) 1991-1999, 2000-2003, 2004, 2005 Free Software Foundation, Inc. # This file is part of the GNU C Library. # The GNU C Library is free software; you can redistribute it and/or @@ -138,17 +138,24 @@ CFLAGS-wait.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-waitid.c = -fexceptions CFLAGS-waitpid.c = -fexceptions -fasynchronous-unwind-tables CFLAGS-getopt.c = -fexceptions -CFLAGS-wordexp.c = -fexceptions +CFLAGS-wordexp.c = -fexceptions -fomit-frame-pointer CFLAGS-sysconf.c = -fexceptions -DGETCONF_DIR='"$(libexecdir)/getconf"' CFLAGS-pathconf.c = -fexceptions CFLAGS-fpathconf.c = -fexceptions -CFLAGS-spawn.c = -fexceptions -CFLAGS-spawnp.c = -fexceptions -CFLAGS-spawni.c = -fexceptions +CFLAGS-spawn.c = -fexceptions -fomit-frame-pointer +CFLAGS-spawnp.c = -fexceptions -fomit-frame-pointer +CFLAGS-spawni.c = -fexceptions -fomit-frame-pointer CFLAGS-pause.c = -fexceptions CFLAGS-glob.c = $(uses-callbacks) -fexceptions CFLAGS-glob64.c = $(uses-callbacks) -fexceptions CFLAGS-getconf.c = -DGETCONF_DIR='"$(libexecdir)/getconf"' +CFLAGS-execve.c = -fomit-frame-pointer +CFLAGS-fexecve.c = -fomit-frame-pointer +CFLAGS-execv.c = -fomit-frame-pointer +CFLAGS-execle.c = -fomit-frame-pointer +CFLAGS-execl.c = -fomit-frame-pointer +CFLAGS-execvp.c = -fomit-frame-pointer +CFLAGS-execlp.c = -fomit-frame-pointer tstgetopt-ARGS = -a -b -cfoobar --required foobar --optional=bazbug \ --none random --col --color --colour -- cgit v1.1