File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -303,7 +303,6 @@ function(toolchain_deps toolchain_deps_dir toolchain_install_dir toolchain_suffi
303303 PATCH_COMMAND
304304 patch -d <SOURCE_DIR > -p3 -t -N < ${PROJECT_SOURCE_DIR} /patches/binutils/0001-vita.patch
305305 && patch -d <SOURCE_DIR > -p1 -t -N < ${PROJECT_SOURCE_DIR} /patches/binutils/0002-fix-broken-reloc.patch
306- && patch -d <SOURCE_DIR > -p3 -t -N < ${PROJECT_SOURCE_DIR} /patches/binutils/0003-fix-elf-vaddr.patch
307306 CONFIGURE_COMMAND ${compiler_flags} ${wrapper_command} <SOURCE_DIR >/configure
308307 --build=${build_native}
309308 --host=${toolchain_host}
Original file line number Diff line number Diff line change 11diff -Nru a/src/binutils/ld/scripttempl/elf.sc b/src/binutils/ld/scripttempl/elf.sc
2- --- a/src/binutils/ld/scripttempl/elf.sc
3- +++ b/src/binutils/ld/scripttempl/elf.sc
4- @@ -579,7 +579,25 @@
5- ${CREATE_SHLIB-${CREATE_PIE-${RELOCATING+. = ${DATA_ADDR-${DATA_SEGMENT_ALIGN}};}}}
6- ${CREATE_SHLIB+. = ${SHLIB_DATA_ADDR-${DATA_SEGMENT_ALIGN}};}
7- ${CREATE_PIE+. = ${SHLIB_DATA_ADDR-${DATA_SEGMENT_ALIGN}};}
8- -
9- + /* SCE self module info size */
10- + . = . + 0x5C;
11- + /* SCE self module_proc_param size */
12- + . = . + 0x34;
13- + /* SCE self info rsvd size(import table, etc...) */
14- + . = . + 0x7000;
2+ --- a/src/binutils/ld/scripttempl/elf.sc 2018-07-11 17:43:55.000000000 +0200
3+ +++ b/src/binutils/ld/scripttempl/elf.sc 2018-12-29 19:53:29.747662203 +0100
4+ @@ -580,6 +580,8 @@
5+ ${CREATE_SHLIB+${RELOCATING+. = ${SHLIB_DATA_ADDR-${DATA_SEGMENT_ALIGN}};}}
6+ ${CREATE_PIE+${RELOCATING+. = ${SHLIB_DATA_ADDR-${DATA_SEGMENT_ALIGN}};}}
7+
158+ /* Hacky hackity hack. Need this because otherwise data segment is not aligned enough. */
16- + . = ALIGN(0x8000 );
9+ + . = ALIGN(0x10000 );
1710 /* Exception handling */
1811 .eh_frame ${RELOCATING-0} : ONLY_IF_RW { KEEP (*(.eh_frame)) ${RELOCATING+*(.eh_frame.*)} }
1912 .gnu_extab ${RELOCATING-0} : ONLY_IF_RW { *(.gnu_extab) }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments