Make improvements

- This commit mints a new release of APE Loader v1.2 which supports
  loading ELF programs with a non-contiguous virtual address layout
  even though we've never been able to take advantage of it, due to
  how `objcopy -SO binary` fills any holes left by PT_LOAD. This'll
  change soon, since we'll have a new way of creating APE binaries.

- The undiamonding trick with our ioctl() implementation is removed
  since POSIX has been killing ioctl() for years and they've done a
  much better job. One problem it resolves, is that ioctl(FIONREAD)
  wasn't working earlier and that caused issues when building Emacs
This commit is contained in:
Justine Tunney 2023-07-11 04:29:33 -07:00
parent a1b1fdd1a4
commit 1ee2e89326
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
53 changed files with 1155 additions and 1255 deletions

View file

@ -19,7 +19,8 @@
ENTRY(_start)
SECTIONS {
. = 0x200000;
. = 0x7fff0000;
__executable_start = .;
.rodata : {
KEEP(*(.head))
*(.rodata .rodata.*)
@ -29,6 +30,7 @@ SECTIONS {
text = .;
*(.text)
}
_end = .;
/DISCARD/ : {
*(.*)
}