From 9f18d3e1a8da09598b75e9ebf1561a8909fb320e Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 3 Apr 2002 14:09:25 +0000 Subject: Teach initfini to build properly on arches where gcc tries to be sneaky behind our back... -Erik --- extra/scripts/initfini.pl | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'extra') diff --git a/extra/scripts/initfini.pl b/extra/scripts/initfini.pl index 9a5c3ba09..ec6bdb36b 100755 --- a/extra/scripts/initfini.pl +++ b/extra/scripts/initfini.pl @@ -81,6 +81,14 @@ while() { $omitcrti = 0; next; } + if (/PROLOG_PAUSES/) { + $omitcrti = 1; + next; + } + if (/PROLOG_UNPAUSES/) { + $omitcrti = 0; + next; + } if (/PROLOG_ENDS/) { $omitcrti = 1; next; -- cgit v1.2.3