X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=ld%2Fscripttempl%2Farmcoff.sc;h=781301c807da34cf3a4d5b13569c47ccb1677e85;hb=6efba98792ca1c59e2b4ad94ad2b20ecc5715413;hp=9f9cd7c1d03fc6ecbed973284a6075dd65c9e1ac;hpb=abd8680d6efd97e7ba848a6392ee3ad72be18cd0;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/scripttempl/armcoff.sc b/ld/scripttempl/armcoff.sc index 9f9cd7c1d0..781301c807 100644 --- a/ld/scripttempl/armcoff.sc +++ b/ld/scripttempl/armcoff.sc @@ -6,6 +6,18 @@ if test -z "${DATA_ADDR}"; then DATA_ADDR=. fi fi + +# These are substituted in as variables in order to get '}' in a shell +# conditional expansion. +CTOR='.ctor : { + *(SORT(.ctors.*)) + *(.ctor) + }' +DTOR='.dtor : { + *(SORT(.dtors.*)) + *(.dtor) + }' + cat <