diff options
Diffstat (limited to 'ld/scripttempl')
-rw-r--r-- | ld/scripttempl/elfarc.sc | 6 | ||||
-rw-r--r-- | ld/scripttempl/elfarcv2.sc | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/ld/scripttempl/elfarc.sc b/ld/scripttempl/elfarc.sc index 6754c02..4d8fef0 100644 --- a/ld/scripttempl/elfarc.sc +++ b/ld/scripttempl/elfarc.sc @@ -262,6 +262,12 @@ cat <<EOF } =${NOP-0} ${DATA_PLT-${BSS_PLT-${PLT}}} + .jlitab ${RELOCATING-0} : + { + ${RELOCATING+${JLI_START_TABLE}} + jlitab*.o(.jlitab*) + *(.jlitab*) + } =${NOP-0} .text ${RELOCATING-0} : { ${RELOCATING+${TEXT_START_SYMBOLS}} diff --git a/ld/scripttempl/elfarcv2.sc b/ld/scripttempl/elfarcv2.sc index 0232d81..21bc74c 100644 --- a/ld/scripttempl/elfarcv2.sc +++ b/ld/scripttempl/elfarcv2.sc @@ -179,6 +179,11 @@ SECTIONS .eh_frame : { KEEP (*(.eh_frame)) } ${RELOCATING+> ${TEXT_MEMORY}} .gcc_except_table : { *(.gcc_except_table) *(.gcc_except_table.*) } ${RELOCATING+> ${TEXT_MEMORY}} .plt : { *(.plt) } ${RELOCATING+> ${TEXT_MEMORY}} + .jlitab : + { + ${RELOCATING+${JLI_START_TABLE}} + jlitab*.o:(.jlitab*) *(.jlitab*) + } ${RELOCATING+> ${TEXT_MEMORY}} .rodata ${RELOCATING-0} : { |