Changeset 888a2c6 in mainline


Ignore:
Timestamp:
2018-05-02T19:48:42Z (6 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
66262a1b
Parents:
6e33c2f
Message:

Ignore GNU program headers.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • abi/include/abi/elf.h

    r6e33c2f r888a2c6  
    167167 * Program segment types
    168168 */
    169 #define PT_NULL     0
    170 #define PT_LOAD     1
    171 #define PT_DYNAMIC  2
    172 #define PT_INTERP   3
    173 #define PT_NOTE     4
    174 #define PT_SHLIB    5
    175 #define PT_PHDR     6
    176 #define PT_TLS      7
    177 #define PT_LOPROC   0x70000000
    178 #define PT_HIPROC   0x7fffffff
     169#define PT_NULL          0
     170#define PT_LOAD          1
     171#define PT_DYNAMIC       2
     172#define PT_INTERP        3
     173#define PT_NOTE          4
     174#define PT_SHLIB         5
     175#define PT_PHDR          6
     176#define PT_TLS           7
     177#define PT_LOOS          0x60000000
     178#define PT_GNU_EH_FRAME  0x6474e550
     179#define PT_GNU_STACK     0x6474e551
     180#define PT_GNU_RELRO     0x6474e552
     181#define PT_HIOS          0x6fffffff
     182#define PT_LOPROC        0x70000000
     183#define PT_HIPROC        0x7fffffff
    179184
    180185/**
  • uspace/lib/c/generic/elf/elf_mod.c

    r6e33c2f r888a2c6  
    342342        case PT_NOTE:
    343343                break;
     344        case PT_GNU_EH_FRAME:
     345        case PT_GNU_STACK:
     346        case PT_GNU_RELRO:
     347                /* Ignore GNU headers, if present. */
     348                break;
    344349        case PT_INTERP:
    345350                elf->info->interp =
Note: See TracChangeset for help on using the changeset viewer.