• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Révisionf074fbaf5263f239cb56244d7ab0bee25a478c16 (tree)
l'heure2022-12-13 11:12:30
AuteurYoshinori Sato <ysato@user...>
CommiterYoshinori Sato

Message de Log

WIP: ld rx-fdpic

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>

Change Summary

Modification

--- a/ld/emulparams/elf32rx_linux.sh
+++ b/ld/emulparams/elf32rx_linux.sh
@@ -15,5 +15,16 @@ GENERATE_PIE_SCRIPT=yes
1515
1616 STACK_ADDR="(DEFINED(__stack) ? __stack : 0xbffffffc)"
1717 STACK_SENTINEL="LONG(0xdeaddead)"
18+GOT=".got ${RELOCATING-0} : {${RELOCATING+ *(.got.funcdesc) *(.got.plt)} *(.got) }"
19+OTHER_GOT_RELOC_SECTIONS="
20+ .rela.got.funcdesc ${RELOCATING-0} : { *(.rela.got.funcdesc) }
21+"
22+OTHER_READONLY_SECTIONS="
23+ .rofixup : {
24+ ${RELOCATING+__ROFIXUP_LIST__ = .;}
25+ *(.rofixup)
26+ ${RELOCATING+__ROFIXUP_END__ = .;}
27+ }
28+"
1829 # We do not need .stack for shared library.
1930 test -n "$CREATE_SHLIB" && unset STACK_ADDR