Commit d38d55b4 by David O'Brien Committed by David O'Brien

elf.h: Standardize the formatting.

2000-10-06  David O'Brien  <obrien@FreeBSD.org>
* config/alpha/elf.h: Standardize the formatting.

Approved by:  Richard Henderson <rth@cygnus.com>
              Message-ID: <20001006233422.D23128@cygnus.com>

From-SVN: r36772
parent 94984e91
2000-10-06 David O'Brien <obrien@dragon.nuxi.com>
* config/alpha/elf.h: Standardize the formatting.
2000-10-06 David O'Brien <obrien@FreeBSD.org> 2000-10-06 David O'Brien <obrien@FreeBSD.org>
* config/alpha/elf.h: Protect the ASM_OUTPUT_IDENT definition with an * config/alpha/elf.h: Protect the ASM_OUTPUT_IDENT definition with an
......
...@@ -101,7 +101,7 @@ do { \ ...@@ -101,7 +101,7 @@ do { \
#define SKIP_ASM_OP "\t.zero\t" #define SKIP_ASM_OP "\t.zero\t"
#undef ASM_OUTPUT_SKIP #undef ASM_OUTPUT_SKIP
#define ASM_OUTPUT_SKIP(FILE,SIZE) \ #define ASM_OUTPUT_SKIP(FILE, SIZE) \
fprintf (FILE, "%s%u\n", SKIP_ASM_OP, (SIZE)) fprintf (FILE, "%s%u\n", SKIP_ASM_OP, (SIZE))
/* Output the label which precedes a jumptable. Note that for all svr4 /* Output the label which precedes a jumptable. Note that for all svr4
...@@ -115,12 +115,12 @@ do { \ ...@@ -115,12 +115,12 @@ do { \
#define ALIGN_ASM_OP "\t.align\t" #define ALIGN_ASM_OP "\t.align\t"
#ifndef ASM_OUTPUT_BEFORE_CASE_LABEL #ifndef ASM_OUTPUT_BEFORE_CASE_LABEL
#define ASM_OUTPUT_BEFORE_CASE_LABEL(FILE,PREFIX,NUM,TABLE) \ #define ASM_OUTPUT_BEFORE_CASE_LABEL(FILE, PREFIX, NUM, TABLE) \
ASM_OUTPUT_ALIGN ((FILE), 2); ASM_OUTPUT_ALIGN ((FILE), 2);
#endif #endif
#undef ASM_OUTPUT_CASE_LABEL #undef ASM_OUTPUT_CASE_LABEL
#define ASM_OUTPUT_CASE_LABEL(FILE,PREFIX,NUM,JUMPTABLE) \ #define ASM_OUTPUT_CASE_LABEL(FILE, PREFIX, NUM, JUMPTABLE) \
do { \ do { \
ASM_OUTPUT_BEFORE_CASE_LABEL (FILE, PREFIX, NUM, JUMPTABLE) \ ASM_OUTPUT_BEFORE_CASE_LABEL (FILE, PREFIX, NUM, JUMPTABLE) \
ASM_OUTPUT_INTERNAL_LABEL (FILE, PREFIX, NUM); \ ASM_OUTPUT_INTERNAL_LABEL (FILE, PREFIX, NUM); \
...@@ -309,7 +309,7 @@ void FN () \ ...@@ -309,7 +309,7 @@ void FN () \
/* A C statement (sans semicolon) to output an element in the table of /* A C statement (sans semicolon) to output an element in the table of
global constructors. */ global constructors. */
#define ASM_OUTPUT_CONSTRUCTOR(FILE,NAME) \ #define ASM_OUTPUT_CONSTRUCTOR(FILE, NAME) \
do { \ do { \
ctors_section (); \ ctors_section (); \
fprintf (FILE, "%s", INT_ASM_OP); \ fprintf (FILE, "%s", INT_ASM_OP); \
...@@ -319,7 +319,7 @@ void FN () \ ...@@ -319,7 +319,7 @@ void FN () \
/* A C statement (sans semicolon) to output an element in the table of /* A C statement (sans semicolon) to output an element in the table of
global destructors. */ global destructors. */
#define ASM_OUTPUT_DESTRUCTOR(FILE,NAME) \ #define ASM_OUTPUT_DESTRUCTOR(FILE, NAME) \
do { \ do { \
dtors_section (); \ dtors_section (); \
fprintf (FILE, "%s", INT_ASM_OP); \ fprintf (FILE, "%s", INT_ASM_OP); \
...@@ -332,7 +332,7 @@ void FN () \ ...@@ -332,7 +332,7 @@ void FN () \
or a constant of some sort. RELOC indicates whether forming or a constant of some sort. RELOC indicates whether forming
the initial value of DECL requires link-time relocations. */ the initial value of DECL requires link-time relocations. */
#define SELECT_SECTION(DECL,RELOC) \ #define SELECT_SECTION(DECL, RELOC) \
{ \ { \
if (TREE_CODE (DECL) == STRING_CST) \ if (TREE_CODE (DECL) == STRING_CST) \
{ \ { \
...@@ -384,7 +384,8 @@ void FN () \ ...@@ -384,7 +384,8 @@ void FN () \
go into the const section. */ go into the const section. */
#undef SELECT_RTX_SECTION #undef SELECT_RTX_SECTION
#define SELECT_RTX_SECTION(MODE,RTX) const_section() #define SELECT_RTX_SECTION(MODE, RTX) \
const_section()
/* Define the strings used for the special svr4 .type and .size directives. /* Define the strings used for the special svr4 .type and .size directives.
These strings generally do not vary from one system running svr4 to These strings generally do not vary from one system running svr4 to
...@@ -397,13 +398,13 @@ void FN () \ ...@@ -397,13 +398,13 @@ void FN () \
/* This is how we tell the assembler that a symbol is weak. */ /* This is how we tell the assembler that a symbol is weak. */
#define ASM_WEAKEN_LABEL(FILE,NAME) \ #define ASM_WEAKEN_LABEL(FILE, NAME) \
do { fputs ("\t.weak\t", FILE); assemble_name (FILE, NAME); \ do { fputs ("\t.weak\t", FILE); assemble_name (FILE, NAME); \
fputc ('\n', FILE); } while (0) fputc ('\n', FILE); } while (0)
/* This is how we tell the assembler that two symbols have the same value. */ /* This is how we tell the assembler that two symbols have the same value. */
#define ASM_OUTPUT_DEF(FILE,NAME1,NAME2) \ #define ASM_OUTPUT_DEF(FILE, NAME1, NAME2) \
do { assemble_name(FILE, NAME1); \ do { assemble_name(FILE, NAME1); \
fputs(" = ", FILE); \ fputs(" = ", FILE); \
assemble_name(FILE, NAME2); \ assemble_name(FILE, NAME2); \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment