From 816fc1ed2eb2ddc50ac28fc4aeeaa07c93d54f06 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 4 Apr 2001 17:39:59 +0000 Subject: Update. 2001-04-04 Ulrich Drepper * sysdeps/unix/sysv/linux/s390/s390-64/Dist: Add ucontext_i.h. * sysdeps/unix/sysv/linux/s390/s390-32/Dist: Likewise. 2001-04-04 Martin Schwidefsky * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: New file. * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: New file. * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: New file. * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: New file. * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: New file. * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: New file. * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: New file. * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: New file. * sysdeps/unix/sysv/linux/s390/swapcontext.c: New file. * sunrpc/rpc_scan.c (symbols): Add entry for HYPER. * sunrpc/rpc_scan.h (enum tok_kind): Add TOK_HYPER. * sunrpc/rpc_parse.c (get_type): Handle TOK_HYPER. (unsigned_dec): Likewise. Patch by atai@jezebel.dreamhost.com. --- sunrpc/rpc_parse.c | 9 +++++++++ sunrpc/rpc_scan.h | 1 + 2 files changed, 10 insertions(+) (limited to 'sunrpc') diff --git a/sunrpc/rpc_parse.c b/sunrpc/rpc_parse.c index e6c4e4a7aa..b036aa456d 100644 --- a/sunrpc/rpc_parse.c +++ b/sunrpc/rpc_parse.c @@ -621,6 +621,10 @@ get_type (const char **prefixp, const char **typep, defkind dkind) *typep = "long"; (void) peekscan (TOK_INT, &tok); break; + case TOK_HYPER: + *typep = "int64_t"; + (void) peekscan(TOK_INT, &tok); + break; case TOK_VOID: if (dkind != DEF_UNION && dkind != DEF_PROGRAM) { @@ -664,6 +668,11 @@ unsigned_dec (const char **typep) *typep = "u_long"; (void) peekscan (TOK_INT, &tok); break; + case TOK_HYPER: + get_token (&tok); + *typep = "uint64_t"; + (void) peekscan(TOK_INT, &tok); + break; case TOK_INT: get_token (&tok); *typep = "u_int"; diff --git a/sunrpc/rpc_scan.h b/sunrpc/rpc_scan.h index 2f0d586682..74d77b0fbb 100644 --- a/sunrpc/rpc_scan.h +++ b/sunrpc/rpc_scan.h @@ -65,6 +65,7 @@ enum tok_kind { TOK_INT, TOK_SHORT, TOK_LONG, + TOK_HYPER, TOK_UNSIGNED, TOK_FLOAT, TOK_DOUBLE, -- cgit v1.2.3