[lkml]   [2018]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] x86/vdso: drop implicit common-page-size linker flag
On Thu, Dec 06, 2018 at 11:12:31AM -0800, wrote:
> These are implied by the target architecture and for x86_64 match the
> max-page-size. The default for non-NaCl x86_64 is 0x1000 (4096).
> In bfd the common page size is defined as 0x1000 (4096) for non-NaCl

Sodium Chloride?

> x86_64 targets:
> bfd/elf64-x86-64.c:
> 4998:#define ELF_COMMONPAGESIZE 0x1000
> For gold, the common page size is defined as 0x1000 (4096) for non-NaCl
> x86_64 targets:
> gold/
> 1413: 0x1000, // common_pagesize (overridable by -z common-page-size)
> 1442: 0x1000, // common_pagesize (overridable by -z common-page-size)
> (ELF_COMMONPAGESIZE also defaults to ELF_MAXPAGESIZE when not set
> explicitly for a target architecture in bfd/elfxx-target.h, but that's
> not relevant for x86_64).
> Because it's implied by the target architecture, it's of questionable
> use to implement in LLD. This patch resolves one of the issues towards
> using LLD to link an x86_64 kernel.


I can only guess what this commit message is about and have to look at
the patch itself and then look at the LD(1) man page and rhyme up what
it is aiming to do.

How about rewriting it for mere mortals?



Good mailing practices for 400: avoid top-posting and trim the reply.

 \ /
  Last update: 2018-12-07 11:18    [W:0.138 / U:2.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site