lkml.org 
[lkml]   [2002]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] thread-aware coredumps, 2.5.43-C3
   From: Mark Gross <mark@thegnar.org>
Date: Fri, 18 Oct 2002 06:57:38 -0700

I think I fixed it to set namesz to 5, with the +1 it was making it 6. My
patch is supposed to remove the +1.

The System V ABI (which is the specification that defines ELF) says
that the namesz should include the terminating 0 of the note name,
therefore we should have the +1, and namesz should be 6 for notes with
the name "LINUX". The Linux kernel has been doing the wrong thing for
ages, and somehow BFD picked this up for the particular note we're
discussing here. For other notes this doesn't matter since BFD
doesn't look at the name at all. The bottom-line is that the kernel
is doing the right thing now and we should fix BFD, which I'm going to
do shortly.

Mark
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.785 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site