From: Andreas Schwab Date: Sun, 13 Jun 2010 19:09:38 +0000 (+0200) Subject: m68k: Add required definitions to sys/user.h X-Git-Tag: glibc-2.16-ports-before-merge~473 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08b1b36387286ed1ba48c56a32e52429b5ef6963;p=thirdparty%2Fglibc.git m68k: Add required definitions to sys/user.h --- diff --git a/ChangeLog.m68k b/ChangeLog.m68k index 6cf5d39959c..bbc8a8c50c0 100644 --- a/ChangeLog.m68k +++ b/ChangeLog.m68k @@ -1,3 +1,8 @@ +2010-06-13 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/sys/user.h (NBPG, UPAGES) + (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Define. + 2010-06-11 Andreas Schwab * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Force diff --git a/sysdeps/unix/sysv/linux/m68k/sys/user.h b/sysdeps/unix/sysv/linux/m68k/sys/user.h index f8b19fcbe20..2663ac6df20 100644 --- a/sysdeps/unix/sysv/linux/m68k/sys/user.h +++ b/sysdeps/unix/sysv/linux/m68k/sys/user.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2008 Free Software Foundation, Inc. +/* Copyright (C) 2008, 2010 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 @@ -58,4 +58,9 @@ struct user { char u_comm[32]; }; +#define NBPG 4096 +#define UPAGES 1 +#define HOST_TEXT_START_ADDR u.start_code +#define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) + #endif