Re: [PATCH 6/7] Add /sys/kernel/notes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Roland McGrath wrote:
The earlier patches in this series change the linker script to place it
appropriately and set the phdr.  It's allocated when its input sections are
allocated.  Current builds I've seen don't have any input note sections at
all.  My motivation is for the ld --build-id support, which generates an
allocated note section as if it were input.

OK, I see.

I have a patch to always do this, and also convert all the note generation to C code rather than asm. If your patch works for you, however, it should be completely orthogonal.

What note generation do you mean?  The only explicit notes in asm that I
know of are in the vDSO images, not in vmlinux.  This patch has nothing to
do with any vDSO image's generation.

I'm adding other notes for Xen, so I have some in my tree. But the vdso ones could also be generated in C rather than asm. I'm not sure what stage the patch to convert vsyscall-notes to using linux/elfnote.h is at; I think its in Andi's tree.

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux