X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=ld%2Fscripttempl%2Fpep.sc;h=75abc9fb11055e18a11e4244a1ba7372824cea48;hb=2d7f4929019d785e2f3a91f8e655e55e67b2e161;hp=b39469ddb5471bc62dd24cc00e50b8005cda7b0b;hpb=27505b5d0fc279055b9d27c5f45b199192422f16;p=binutils-gdb.git diff --git a/ld/scripttempl/pep.sc b/ld/scripttempl/pep.sc index b39469ddb54..75abc9fb110 100644 --- a/ld/scripttempl/pep.sc +++ b/ld/scripttempl/pep.sc @@ -69,6 +69,7 @@ SECTIONS ${RELOCATING+ *(.init)} *(.text) ${R_TEXT} + ${RELOCATING+ *(.text.*)} *(.glue_7t) *(.glue_7) ${CONSTRUCTING+. = ALIGN(8);} @@ -117,7 +118,12 @@ SECTIONS .pdata ${RELOCATING+BLOCK(__section_alignment__)} : { - *(.pdata) + *(.pdata*) + } + + .xdata ${RELOCATING+BLOCK(__section_alignment__)} : + { + *(.xdata*) } .bss ${RELOCATING+BLOCK(__section_alignment__)} : @@ -139,6 +145,8 @@ SECTIONS *(.debug\$T) *(.debug\$F) *(.drectve) + ${RELOCATING+ *(.note.GNU-stack)} + ${RELOCATING+ *(.gnu.lto_*)} } .idata ${RELOCATING+BLOCK(__section_alignment__)} :