__executable_start (was: [bug #17644] glibc: support for TLS)

2013-05-26 Thread Thomas Schwinge
Hi! Re-submitting an oldie of Samuel's: On Sun, 24 Jun 2007 17:45:35 +0200, Samuel Thibault wrote: > - _start points on the first instruction, not on the elf header. > __executable_start does point on the elf header. > --- sysdeps/mach/hurd/i386/init-first.c.orig 2007-06-23 19:27:14.000

kern/thread.c (stack_alloc_hits, stack_alloc_misses): Remove unused variables

2013-05-26 Thread Miguel Figueiredo
2013-05-26 Miguel Figueiredo * kern/thread.c (stack_alloc_hits, stack_alloc_misses): Remove unused variables diff --git a/kern/thread.c b/kern/thread.c index 79f526a..2181d49 100644 --- a/kern/thread.c +++ b/kern/thread.c @@ -163,10 +163,8 @@ boolean_t stack_alloc_try( if (stack != 0

Re: __executable_start (was: [bug #17644] glibc: support for TLS)

2013-05-26 Thread Anatoly A. Kazantsev
On Sun, 26 May 2013 16:38:23 +0200 Thomas Schwinge wrote: > Hi! > > Re-submitting an oldie of Samuel's: > > On Sun, 24 Jun 2007 17:45:35 +0200, Samuel Thibault > wrote: > > - _start points on the first instruction, not on the elf header. > > __executable_start does point on the elf header.

Re: __executable_start

2013-05-26 Thread Emilio Pozuelo Monfort
Hi, On 26/05/13 16:38, Thomas Schwinge wrote: Hi! Re-submitting an oldie of Samuel's: On Sun, 24 Jun 2007 17:45:35 +0200, Samuel Thibault wrote: - _start points on the first instruction, not on the elf header. __executable_start does point on the elf header. --- sysdeps/mach/hurd/i386

Re: kern/thread.c (stack_alloc_hits, stack_alloc_misses): Remove unused variables

2013-05-26 Thread Samuel Thibault
Miguel Figueiredo, le Sun 26 May 2013 18:28:55 +0100, a écrit : > 2013-05-26 Miguel Figueiredo > > * kern/thread.c (stack_alloc_hits, stack_alloc_misses): Remove unused > variables I wouldn't do that: they can be read from the debugger. Samuel

Re: [PATCH,HURD] Recognize GNU/Hurd-specific binaries

2013-05-26 Thread Thomas Schwinge
Hi! On Sun, 3 Jul 2011 16:19:39 +0200, Samuel Thibault wrote: > Roland McGrath, le Sun 19 Jun 2011 11:46:20 -0700, a écrit : > > > Ok, so I guess we should request binutils to rename the LINUX one into > > > ELFOSABI_GNU and drop the HURD one? > > > > That seems appropriate to me. ..., and hap

Re: gnumach/device/blkio.c (disksort) unused function

2013-05-26 Thread Samuel Thibault
Miguel Figueiredo, le Sat 25 May 2013 17:45:39 +0100, a écrit : > On gnumach/device/blkio.c, disksort function although declared here it's not > used on gnumach nor on hurd. > I guess it's safe to remove in case of cleanup. I'm undecided about this. It is indeed unused currently, could be useful,

Re: mach-defpager/kalloc.c: remove useless #define

2013-05-26 Thread Samuel Thibault
Miguel Figueiredo, le Sat 25 May 2013 13:29:14 +0100, a écrit : > * mach-defpager/kalloc.c: remove useless #define I have rather commented it. Samuel

Re: gnumach/device/blkio.c (disksort) unused function

2013-05-26 Thread Richard Braun
On Mon, May 27, 2013 at 12:09:20AM +0200, Samuel Thibault wrote: > I'm undecided about this. It is indeed unused currently, could be > useful, but keeping disk drivers in the kernel is not our goal, so it > could probably just go indeed. > > What do people think? It should just go away. A simple

Re: gnumach/device/blkio.c (disksort) unused function

2013-05-26 Thread Samuel Thibault
Miguel Figueiredo, le Sat 25 May 2013 17:58:50 +0100, a écrit : > 2013-05-25 Miguel Figueiredo > > * device/blkio.c (disksort): remove unused function Applied, thanks. Samuel