mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
* Makeconfig: Define pie-ccflag and PIE-ccflag variables.
* elf/Makefile: Use pie-ccflag variable. * nscd/Makefile: Likewise. * sysdeps/sparc/Makefile: Set $(pie-ccflag) to -fPIE.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/* Storage management for the chain of loaded shared objects.
|
||||
Copyright (C) 1995-2002, 2004, 2006, 2007 Free Software Foundation, Inc.
|
||||
Copyright (C) 1995-2002,2004,2006,2007,2008 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
|
||||
@ -50,7 +50,7 @@ _dl_new_object (char *realname, const char *libname, int type,
|
||||
#endif
|
||||
|
||||
new = (struct link_map *) calloc (sizeof (*new) + audit_space
|
||||
+ sizeof (struct r_scope_elem)
|
||||
+ sizeof (struct link_map *)
|
||||
+ sizeof (*newname) + libname_len, 1);
|
||||
if (new == NULL)
|
||||
return NULL;
|
||||
|
Reference in New Issue
Block a user