+Wed Dec 23 10:27:44 1998 Nick Clifton <nickc@cygnus.com>
+
+ * config/arm/t-arm-elf: Add multiplib option for leading
+ underscores.
+
+ * config/arm/thumb.h (ASM_OUTPUT_LABELREF): Use variable
+ 'user_label_prefix' rather than macro USER_LABEL_PREFIX.
+
+ (thumb_shiftable_const): Use macro 'BASE_REG_CLASS' rather
+ than variable 'reload_address_base_reg_class'. [Note this
+ change is unrelated to the others in this patch].
+
+ * config/arm/unknown-elf.h (USER_LABEL_PREFIX): Default to no
+ leading underscore.
+
Wed Dec 23 09:51:32 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* alias.c (record_alias_subset): Remove ignored `&'.
#error __USER_LABEL_PREFIX__ not defined
#endif
+/* ANSI concatenation macros. */
+
+#define CONCAT1(a, b) CONCAT2(a, b)
+#define CONCAT2(a, b) a ## b
+
+/* Use the right prefix for global labels. */
+
+#define SYM(x) CONCAT1 (__USER_LABEL_PREFIX__, x)
+
#ifdef __elf__
#define __PLT__ (PLT)
#define TYPE(x) .type SYM(x),function
#define SIZE(x)
#endif
-/* ANSI concatenation macros. */
-
-#define CONCAT1(a, b) CONCAT2(a, b)
-#define CONCAT2(a, b) a ## b
-
-/* Use the right prefix for global labels. */
-
-#define SYM(x) CONCAT1 (__USER_LABEL_PREFIX__, x)
-
#ifdef L_udivsi3
dividend .req r0
echo '#endif' >> dp-bit.c
cat $(srcdir)/config/fp-bit.c >> dp-bit.c
-MULTILIB_OPTIONS = mlittle-endian/mbig-endian mhard-float/msoft-float mapcs-32/mapcs-26
-MULTILIB_DIRNAMES = le be fpu soft 32bit 26bit
+MULTILIB_OPTIONS = mlittle-endian/mbig-endian mhard-float/msoft-float mapcs-32/mapcs-26 fno-leading-underscore/fleading-underscore
+MULTILIB_DIRNAMES = le be fpu soft 32bit 26bit elf under
MULTILIB_MATCHES =
LIBGCC = stmp-multilib
/* Output a reference to a label. */
#define ASM_OUTPUT_LABELREF(STREAM,NAME) \
- fprintf ((STREAM), "%s%s", USER_LABEL_PREFIX, (NAME))
+ fprintf ((STREAM), "%s%s", user_label_prefix, (NAME))
/* This is how to output an assembler line for a numeric constant byte. */
#define ASM_OUTPUT_BYTE(STREAM,VALUE) \
rtx orig_X = X; \
X = copy_rtx (X); \
push_reload (orig_X, NULL_RTX, &X, NULL_PTR, \
- reload_address_base_reg_class, \
+ BASE_REG_CLASS, \
Pmode, VOIDmode, 0, 0, OPNUM, TYPE); \
goto WIN; \
} \
#define ENDFILE_SPEC "crtend%O%s"
-#define USER_LABEL_PREFIX "_" /* FIXME: This ought to be "" */
+#define USER_LABEL_PREFIX ""
#define LOCAL_LABEL_PREFIX "."
#define TEXT_SECTION " .text"