From 263573cf6e027c41d74d1e225e33f6ec85507938 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 5 Dec 2015 20:52:47 +0100 Subject: remove __UCLIBC_ASM_GLOBAL_DIRECTIVE__ .globl can be used for every architecture so remove the define. Sync with GNU C library. --- libc/sysdeps/linux/v850/Makefile | 2 +- libc/sysdeps/linux/v850/bits/uClibc_arch_features.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'libc/sysdeps/linux/v850') diff --git a/libc/sysdeps/linux/v850/Makefile b/libc/sysdeps/linux/v850/Makefile index e54e18c49..d6ed3cc27 100644 --- a/libc/sysdeps/linux/v850/Makefile +++ b/libc/sysdeps/linux/v850/Makefile @@ -9,7 +9,7 @@ TOPDIR=../../../../ include $(TOPDIR)Rules.mak CFLAGS += -I.. -ASFLAGS += -I.. -D__ASSEMBLER -DASM_GLOBAL_DIRECTIVE=.globl +ASFLAGS += -I.. -D__ASSEMBLER TARGET_MACHINE_TYPE=$(shell $(CC) -dumpmachine) diff --git a/libc/sysdeps/linux/v850/bits/uClibc_arch_features.h b/libc/sysdeps/linux/v850/bits/uClibc_arch_features.h index 62d49a3ae..32293e6b6 100644 --- a/libc/sysdeps/linux/v850/bits/uClibc_arch_features.h +++ b/libc/sysdeps/linux/v850/bits/uClibc_arch_features.h @@ -24,9 +24,6 @@ /* does your target have an asm .set ? */ #define __UCLIBC_HAVE_ASM_SET_DIRECTIVE__ -/* define if target doesn't like .global */ -#undef __UCLIBC_ASM_GLOBAL_DIRECTIVE__ - /* define if target supports .weak */ #define __UCLIBC_HAVE_ASM_WEAK_DIRECTIVE__ -- cgit v1.2.3