/* * include/asm-microblaze/clinkage.h -- Macros to reflect C symbol-naming conventions * * Copyright (C) 2003 John Williams * Copyright (C) 2001,2002 NEC Corporatione * Copyright (C) 2001,2002 Miles Bader * * This file is subject to the terms and conditions of the GNU General * Public License. See the file COPYING in the main directory of this * archive for more details. * * Written by Miles Bader * Microblaze port by John Williams */ #ifndef __MICROBLAZE_CLINKAGE_H__ #define __MICROBLAZE_CLINKAGE_H__ #include #include /* #define LEADING_UNDERSCORES 1 */ #ifdef LEADING_UNDERSCORES #define C_SYMBOL_NAME(name) macrology_paste(_, name) #else #define C_SYMBOL_NAME(name) name #endif #define C_ENTRY(name) G_ENTRY(C_SYMBOL_NAME(name)) #define C_END(name) END(C_SYMBOL_NAME(name)) #endif /* __MICROBLAZE_CLINKAGE_H__ */