summaryrefslogtreecommitdiff
path: root/lib/csu/alpha/crt1.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csu/alpha/crt1.c')
-rw-r--r--lib/csu/alpha/crt1.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/csu/alpha/crt1.c b/lib/csu/alpha/crt1.c
index ac87526ca9af8..2f7fd95a91b80 100644
--- a/lib/csu/alpha/crt1.c
+++ b/lib/csu/alpha/crt1.c
@@ -30,7 +30,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: crt1.c,v 1.3 1999/01/07 20:18:18 steve Exp $
+ * $Id: crt1.c,v 1.1.1.2 1998/03/11 20:36:09 jb Exp $
*/
#ifndef __GNUC__
@@ -80,13 +80,8 @@ _start(char **ap,
argv = ap + 1;
env = ap + 2 + argc;
environ = env;
- if(argc > 0 && argv[0] != NULL) {
- char *s;
+ if(argc > 0)
__progname = argv[0];
- for (s = __progname; *s != '\0'; s++)
- if (*s == '/')
- __progname = s + 1;
- }
if (&_DYNAMIC != NULL) {
if ((obj == NULL) || (obj->magic != RTLD_MAGIC))