Patchwork [alpha] : Restore bootstrap, broken due to config/elfos.h renames.

login
register
mail settings
Submitter Uros Bizjak
Date Nov. 11, 2011, 4:29 p.m.
Message ID <CAFULd4b6ex5hx44_9QpbHMTPy_BQd3-ZcSmjH2n6wZTFUgBUwQ@mail.gmail.com>
Download mbox | patch
Permalink /patch/125216/
State New
Headers show

Comments

Uros Bizjak - Nov. 11, 2011, 4:29 p.m.
Hello!

2011-11-11  Uros Bizjak  <ubizjak@gmail.com>

	* config/alpha/elf.h (ELF_ASCII_ESCAPES): Rename from ESCAPES.
	(ELF_STRING_LIMIT): Rename from STRING_LIMIT.

Tested on alphaev68-pc-linux-gnu, committed to mainline SVN.

Uros.

Patch

Index: elf.h
===================================================================
--- elf.h	(revision 181283)
+++ elf.h	(working copy)
@@ -344,8 +344,8 @@ 
    the i386) don't know about that.  Also, we don't use \v
    since some versions of gas, such as 2.2 did not accept it.  */
 
-#undef  ESCAPES
-#define ESCAPES \
+#undef  ELF_ASCII_ESCAPES
+#define ELF_ASCII_ESCAPES \
 "\1\1\1\1\1\1\1\1btn\1fr\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\
 \0\0\"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\\\0\0\0\
@@ -366,8 +366,9 @@ 
    If your target assembler doesn't support the .string directive, you
    should define this to zero.  */
 
-#undef  STRING_LIMIT
-#define STRING_LIMIT	((unsigned) 256)
+#undef  ELF_STRING_LIMIT
+#define ELF_STRING_LIMIT	((unsigned) 256)
+
 #undef  STRING_ASM_OP
 #define STRING_ASM_OP	"\t.string\t"