/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 1998 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma init(ld_support_init)
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <libelf.h>
#include <link.h>
/*
* Linked list of strings - used to keep lists of names
* of directories or files.
*/
struct Stritem {
char * str;
void * next;
};
void mk_state_init()
{
} /* mk_state_init() */
static void
{
char * newstr;
perror("libmakestate.so");
return;
} /* if */
perror("libmakestate.so");
return;
} /* if */
} /* prepend_str() */
void
{
/*
* SUNPRO_DEPENDENCIES wasn't set, we don't collect .make.state
* information.
*/
if (!depend_file)
return;
} /* mk_state_collect_dep() */
void
{
extern char * file_lock(char *, char *, int);
if (!depend_file)
return;
return;
*space = '\0';
return;
} /* if */
return;
if (list)
*space = ' ';
} /* mk_state_update_exit() */
static void
/* LINTED static unused */
{
} /* ld_support_init() */
/* ARGSUSED */
void
{
return;
} /* ld_file */
void
{
if (exit_code)
return;
} /* ld_atexit() */
/*
* Supporting 64-bit objects
*/
void
{
return;
} /* ld_file64 */
void
{
if (exit_code)
return;
} /* ld_atexit64() */