From 6e21902ab82e353c3701583c4ee688c45dbb78d7 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 20 Feb 2004 20:12:35 +0000 Subject: [PATCH] Update. 2004-02-20 Jakub Jelinek * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h (DL_ARGV_NOT_RELRO): Define. --- linuxthreads/ChangeLog | 4 ++++ linuxthreads/sysdeps/unix/sysv/linux/ia64/dl-sysdep.h | 6 +++++- nptl/sysdeps/unix/sysv/linux/ia64/dl-sysdep.h | 6 +++++- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog index 49a37df7f8..3cc1a21282 100644 --- a/linuxthreads/ChangeLog +++ b/linuxthreads/ChangeLog @@ -1,3 +1,7 @@ +2004-02-20 Jakub Jelinek + + * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h (DL_ARGV_NOT_RELRO): Define. + 2004-02-10 Steven Munroe * Makefile (libpthread-routines): Add ptcleanup. diff --git a/linuxthreads/sysdeps/unix/sysv/linux/ia64/dl-sysdep.h b/linuxthreads/sysdeps/unix/sysv/linux/ia64/dl-sysdep.h index abc25ddd48..27d5fdfbf5 100644 --- a/linuxthreads/sysdeps/unix/sysv/linux/ia64/dl-sysdep.h +++ b/linuxthreads/sysdeps/unix/sysv/linux/ia64/dl-sysdep.h @@ -1,5 +1,5 @@ /* System-specific settings for dynamic linker code. IA-64 version. - Copyright (C) 2003 Free Software Foundation, Inc. + Copyright (C) 2003, 2004 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 @@ -42,4 +42,8 @@ extern int _dl_sysinfo_break attribute_hidden; ".previous"); #endif +/* _dl_argv cannot be attribute_relro, because _dl_start_user + might write into it after _dl_start returns. */ +#define DL_ARGV_NOT_RELRO 1 + #endif /* dl-sysdep.h */ diff --git a/nptl/sysdeps/unix/sysv/linux/ia64/dl-sysdep.h b/nptl/sysdeps/unix/sysv/linux/ia64/dl-sysdep.h index e499be1e49..af835c44b1 100644 --- a/nptl/sysdeps/unix/sysv/linux/ia64/dl-sysdep.h +++ b/nptl/sysdeps/unix/sysv/linux/ia64/dl-sysdep.h @@ -1,5 +1,5 @@ /* System-specific settings for dynamic linker code. IA-64 version. - Copyright (C) 2003 Free Software Foundation, Inc. + Copyright (C) 2003, 2004 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 @@ -61,4 +61,8 @@ extern int _dl_sysinfo_break attribute_hidden; ".previous"); #endif +/* _dl_argv cannot be attribute_relro, because _dl_start_user + might write into it after _dl_start returns. */ +#define DL_ARGV_NOT_RELRO 1 + #endif /* dl-sysdep.h */