aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/mmo.sc
diff options
context:
space:
mode:
Diffstat (limited to 'ld/scripttempl/mmo.sc')
-rw-r--r--ld/scripttempl/mmo.sc8
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/scripttempl/mmo.sc b/ld/scripttempl/mmo.sc
index 72e8b49..b93953d 100644
--- a/ld/scripttempl/mmo.sc
+++ b/ld/scripttempl/mmo.sc
@@ -29,8 +29,8 @@ SECTIONS
${RELOCATING+ PROVIDE (__ctors_start = .);}
${RELOCATING+ PROVIDE (_ctors = .);}
${RELOCATING+ PROVIDE (__ctors = .);}
- ${RELOCATING+ KEEP (*crtbegin.o(.ctors))}
- ${RELOCATING+ KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors))}
+ ${RELOCATING+ KEEP (*crtbegin*.o(.ctors))}
+ ${RELOCATING+ KEEP (*(EXCLUDE_FILE (*crtend*.o) .ctors))}
${RELOCATING+ KEEP (*(SORT(.ctors.*)))}
${RELOCATING+ KEEP (*(.ctors))}
${RELOCATING+ PROVIDE (_ctors_end = .);}
@@ -40,8 +40,8 @@ SECTIONS
${RELOCATING+ PROVIDE (__dtors_start = .);}
${RELOCATING+ PROVIDE (_dtors = .);}
${RELOCATING+ PROVIDE (__dtors = .);}
- ${RELOCATING+ KEEP (*crtbegin.o(.dtors))}
- ${RELOCATING+ KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors))}
+ ${RELOCATING+ KEEP (*crtbegin*.o(.dtors))}
+ ${RELOCATING+ KEEP (*(EXCLUDE_FILE (*crtend*.o) .dtors))}
${RELOCATING+ KEEP (*(SORT(.dtors.*)))}
${RELOCATING+ KEEP (*(.dtors))}
${RELOCATING+ PROVIDE (_dtors_end = .);}