diff options
Diffstat (limited to 'libc/sysdeps/linux/cris/sysdep.h')
| -rw-r--r-- | libc/sysdeps/linux/cris/sysdep.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/cris/sysdep.h b/libc/sysdeps/linux/cris/sysdep.h index 593e7772e..cd21fc87d 100644 --- a/libc/sysdeps/linux/cris/sysdep.h +++ b/libc/sysdeps/linux/cris/sysdep.h @@ -14,12 +14,13 @@ You should have received a copy of the GNU Library General Public License along with the GNU C Library; see the file COPYING.LIB. If not, - write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + see <http://www.gnu.org/licenses/>. */ #ifndef _SYSDEP_H_ #define _SYSDEP_H_ +#include <common/sysdep.h> + #ifndef C_LABEL /* Define a macro we can use to construct the asm name for a C symbol. */ @@ -120,7 +121,15 @@ /* Define an entry point visible from C. */ #define ENTRY(name) \ .text @ \ - ASM_GLOBAL_DIRECTIVE C_SYMBOL_NAME (name) @ \ + .globl C_SYMBOL_NAME (name) @ \ + ASM_TYPE_DIRECTIVE (C_SYMBOL_NAME (name), function) @ \ + .align ALIGNARG (2) @ \ + C_LABEL(name) + +#define HIDDEN_ENTRY(name) \ + .text @ \ + .globl C_SYMBOL_NAME (name) @ \ + .hidden C_SYMBOL_NAME (name) @ \ ASM_TYPE_DIRECTIVE (C_SYMBOL_NAME (name), function) @ \ .align ALIGNARG (2) @ \ C_LABEL(name) |
