From 08b1b36387286ed1ba48c56a32e52429b5ef6963 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 13 Jun 2010 21:09:38 +0200 Subject: [PATCH] m68k: Add required definitions to sys/user.h --- ChangeLog.m68k | 5 +++++ sysdeps/unix/sysv/linux/m68k/sys/user.h | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) 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 -- 2.47.2