00001 /* 00002 * Copyright (C) 2007, 2008. PathScale, LLC. All Rights Reserved. 00003 */ 00004 /* 00005 00006 Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. 00007 00008 This program is free software; you can redistribute it and/or modify it 00009 under the terms of version 2 of the GNU General Public License as 00010 published by the Free Software Foundation. 00011 00012 This program is distributed in the hope that it would be useful, but 00013 WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00015 00016 Further, this software is distributed without any warranty that it is 00017 free of the rightful claim of any third person regarding infringement 00018 or the like. Any license provided herein, whether implied or 00019 otherwise, applies only to this software file. Patent licenses, if 00020 any, provided herein do not apply to combinations of this program with 00021 other software, or any other product whatsoever. 00022 00023 You should have received a copy of the GNU General Public License along 00024 with this program; if not, write the Free Software Foundation, Inc., 59 00025 Temple Place - Suite 330, Boston MA 02111-1307, USA. 00026 00027 Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pky, 00028 Mountain View, CA 94043, or: 00029 00030 http://www.sgi.com 00031 00032 For further information regarding this notice, see: 00033 00034 http://oss.sgi.com/projects/GenInfo/NoticeExplan 00035 00036 */ 00037 00038 00039 #if defined(BUILD_OS_DARWIN) 00040 #include <darwin_elf.h> 00041 #else /* defined(BUILD_OS_DARWIN) */ 00042 #include <elf.h> /* for wn.h */ 00043 #endif /* defined(BUILD_OS_DARWIN) */ 00044 #include "wn.h" /* for WN */ 00045 #include "defs.h" /* for pu_info.h */ 00046 #include "config.h" /* for LNO_Path, etc. */ 00047 #include "pu_info.h" /* for PU_Info */ 00048 #include "anl_driver.h" /* for Anl_Process_Command_Line, etc. */ 00049 00050 // From prompl_anl directory, appropriate stubs: 00051 00052 extern void Prompf_Emit_Whirl_to_Source(PU_Info* current_pu, 00053 WN* func_nd) 00054 { 00055 } 00056 00057 #if ! defined(BUILD_OS_DARWIN) 00058 /* Changed this to be inline; see comment in anl_driver.h about weak syms */ 00059 extern INT64 New_Construct_Id() 00060 { 00061 return 0; 00062 } 00063 #endif /* ! defined(BUILD_OS_DARWIN) */ 00064 00065
1.5.6