mes/lib
Jan Nieuwenhuizen 125b43acc8
mescc: Update elf32-header for linux-4.17.
Previously, our binaries showed this

    $ readelf -s scaffold/main.mes-out
    There are 2 program headers, starting at offset 64

    Program Headers:
      Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
      LOAD           0x000000 0x01000000 0x01000000 0x0557c 0x0557c RWE 0x1
      LOAD           0x000000 0x01000000 0x01000000 0x0557c 0x0557c RWE 0x1

     Section to Segment mapping:
      Segment Sections...
       00     .text .data
       01     .text .data

Linux-4.17 refuses to run this and says

    Uhuuh, elf segment at 0000000001000000 requested but the memory is mapped already
    Segmentation fault

* lib/x86-mes/elf32-header.hex2: Remove unused data program header.
2018-06-16 08:32:12 +02:00
..
x86-mes mescc: Update elf32-header for linux-4.17. 2018-06-16 08:32:12 +02:00
alloca.c mescc: Support gcc-3.4.0: alloca. 2018-06-06 19:44:29 +02:00
binutils.c mescc: Refactor debug and stub printing. 2018-06-10 14:07:19 +02:00
crt0.c mescc: Support less-patched tcc/gcc: Add crti and crtn. 2018-06-10 16:03:18 +02:00
crt1.c mescc: Support binutils-2.5.1. 2018-05-30 21:55:39 +02:00
crti.c mescc: Support less-patched tcc/gcc: Add crti and crtn. 2018-06-10 16:03:18 +02:00
crtn.c mescc: Support less-patched tcc/gcc: Add crti and crtn. 2018-06-10 16:03:18 +02:00
gcc.c mescc: Refactor debug and stub printing. 2018-06-10 14:07:19 +02:00
getopt.c mescc: Support binutils-2.5.1. 2018-05-30 21:55:39 +02:00
glibc.c mescc: Refactor debug and stub printing. 2018-06-10 14:07:19 +02:00
libc+gnu.c mescc: Support gcc-3.4.0: alloca. 2018-06-06 19:44:29 +02:00
libc+tcc-gcc.c mescc: Refactor debug and stub printing. 2018-06-10 14:07:19 +02:00
libc+tcc-mes.c build: Use arch-dir. 2018-05-29 20:07:46 +02:00
libc+tcc.c mescc: Refactor debug and stub printing. 2018-06-10 14:07:19 +02:00
libc-mini.c mescc: syscall: return only ever error -1, set errno. 2018-06-08 07:17:51 +02:00
libc.c mescc: Refactor debug and stub printing. 2018-06-10 14:07:19 +02:00
libg.c mescc: Refactor debug and stub printing. 2018-06-10 14:07:19 +02:00
libgetopt.c mescc: Support binutils-2.5.1. 2018-05-30 21:55:39 +02:00
libmes.c mescc: Support gcc-2.6.3. 2018-06-02 11:41:06 +02:00
linux+gnu.c mescc: Support gcc-3.0: Implement alarm, setitimer. 2018-06-07 18:03:51 +02:00
linux+tcc.c mescc: Support glibc-1.06.4. 2018-06-03 18:54:26 +02:00
linux-gcc.c mescc: syscall: return only ever error -1, set errno. 2018-06-08 07:17:51 +02:00
linux-mes.c mescc: syscall: return only ever error -1, set errno. 2018-06-08 07:17:51 +02:00
linux-mini-gcc.c mescc: syscall: return only ever error -1, set errno. 2018-06-08 07:17:51 +02:00
linux-mini-mes.c mescc: syscall: return only ever error -1, set errno. 2018-06-08 07:17:51 +02:00
linux.c mescc: Support glibc-1.06.4. 2018-06-03 18:54:26 +02:00
m4.c mescc: Refactor debug and stub printing. 2018-06-10 14:07:19 +02:00