Skip to content

Commit

Permalink
engine: platform: psvita: add unused data to workaround bug in vita-e…
Browse files Browse the repository at this point in the history
…lf-create (thanks @fgsfdsfgs)
  • Loading branch information
a1batross committed Jun 18, 2023
1 parent 01ad3dd commit 03a85e0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions engine/platform/psvita/sys_psvita.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ unsigned int _pthread_stack_default_user = 512 * 1024;
unsigned int _newlib_heap_size_user = 200 * 1024 * 1024;
#define VGL_MEM_THRESHOLD ( 40 * 1024 * 1024 )

// HACKHACK: create some slack at the end of the RX segment of the ELF
// for vita-elf-create to put the generated symbol table into
const char vitaelf_slack __attribute__ ((aligned (0x20000))) = 0xFF;

/* HACKHACK: force-export stuff required by the dynamic libs */

extern void *__aeabi_idiv;
Expand Down

0 comments on commit 03a85e0

Please sign in to comment.