aboutsummaryrefslogtreecommitdiff
path: root/csu/defs.awk
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-07-25 22:19:16 +0000
committerUlrich Drepper <drepper@redhat.com>2000-07-25 22:19:16 +0000
commit3452aba811b77932788ac10de324653140bca936 (patch)
tree3204a06d66c29be1eb351211de1b7b8d77a31686 /csu/defs.awk
parent16093625a6a30a7977c8e8ed7bb7ce95ef17c8d1 (diff)
downloadglibc-3452aba811b77932788ac10de324653140bca936.tar
glibc-3452aba811b77932788ac10de324653140bca936.tar.gz
glibc-3452aba811b77932788ac10de324653140bca936.tar.bz2
glibc-3452aba811b77932788ac10de324653140bca936.zip
Update.
2000-07-25 Mark Kettenis <kettenis@gnu.org> * nss/nss_files/files-netgrp.c (strip_whitespace): New function. (_nss_netgroup_parseline): Use strip_whitespace to strip off any leading and trailing spaces from host, user and domain name. 2000-07-25 Jes Sorensen <jes@linuxcare.com> * csu/defs.awk: Add support for need_endp. 2000-07-25 Mark Kettenis <kettenis@gnu.org> * resolv/resolv.h: Remove __P from res_send_qhook and res_send_rhook typedefs. 2000-07-25 Bruno Haible <haible@clisp.cons.org> * intl/tst-translit.c (main): Unset OUTPUT_CHARSET.
Diffstat (limited to 'csu/defs.awk')
-rw-r--r--csu/defs.awk9
1 files changed, 7 insertions, 2 deletions
diff --git a/csu/defs.awk b/csu/defs.awk
index a006c983e2..7ca5a33646 100644
--- a/csu/defs.awk
+++ b/csu/defs.awk
@@ -1,8 +1,13 @@
-/^[ ]*\.end/ { need_end = 1 }
+/^[ ]*\.endp/ { need_endp = 1 }
+/^[ ]*\.end/ { need_end = 1 }
/^[ ]*\.align/ { if($2 > max) max = $2; }
END {
- if(need_end)
+ if(need_endp)
+ {
+ print "#define END_INIT .endp _init";
+ print "#define END_FINI .endp _fini";
+ } else if(need_end)
{
print "#define END_INIT .end _init";
print "#define END_FINI .end _fini";