diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2010-10-30 23:02:32 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2010-10-30 23:02:32 +0000 |
commit | b3cded65e92ba4d9b5e5a33fb95c4d551bda9c1b (patch) | |
tree | 69d40fbef2c0c4ee32fe97b7a28b510f2e3c2dbc /ld/scripttempl/mmo.sc | |
parent | 7a815afd9b5121ee0f65dc1e1de1c0de6de97679 (diff) |
Notes
Diffstat (limited to 'ld/scripttempl/mmo.sc')
-rw-r--r-- | ld/scripttempl/mmo.sc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ld/scripttempl/mmo.sc b/ld/scripttempl/mmo.sc index 643b349539e3..599db83199dd 100644 --- a/ld/scripttempl/mmo.sc +++ b/ld/scripttempl/mmo.sc @@ -29,8 +29,9 @@ 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 (*crtbegin?.o(.ctors))} + ${RELOCATING+ KEEP (*(EXCLUDE_FILE (*crtend.o *crtend?.o) .ctors))} ${RELOCATING+ KEEP (*(SORT(.ctors.*)))} ${RELOCATING+ KEEP (*(.ctors))} ${RELOCATING+ PROVIDE (_ctors_end = .);} @@ -40,8 +41,9 @@ 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 (*crtbegin?.o(.dtors))} + ${RELOCATING+ KEEP (*(EXCLUDE_FILE (*crtend.o *crtend?.o) .dtors))} ${RELOCATING+ KEEP (*(SORT(.dtors.*)))} ${RELOCATING+ KEEP (*(.dtors))} ${RELOCATING+ PROVIDE (_dtors_end = .);} |