[llvm-bugs] [Bug 28688] New: linker script: implement SIZEOF_HEADERS

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Jul 24 17:19:39 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28688

            Bug ID: 28688
           Summary: linker script: implement SIZEOF_HEADERS
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: emaste at freebsd.org
                CC: llvm-bugs at lists.llvm.org
            Blocks: 23214
    Classification: Unclassified

SIZEOF_HEADERS is used by the linker script in FreeBSD's linux emulation layer:

SECTIONS
{
        . = . + SIZEOF_HEADERS;

        .hash           : { *(.hash) }                  :text
        .gnu.hash       : { *(.gnu.hash) }
...

`SIZEOF_HEADERS'
`sizeof_headers'
     Return the size in bytes of the output file's headers.  You can
     use this number as the start address of the first section, if you
     choose, to facilitate paging.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160725/a5de73d9/attachment.html>


More information about the llvm-bugs mailing list