Commit b7560989 by Richard Stallman

(enum pragma_state): Defined.

From-SVN: r5720
parent a9456cd3
...@@ -29,6 +29,22 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -29,6 +29,22 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define HANDLE_PRAGMA_WEAK 1 #define HANDLE_PRAGMA_WEAK 1
#endif #endif
/* See varasm.c for an identical definition. */
enum pragma_state
{
ps_start,
ps_done,
ps_bad,
ps_weak,
ps_name,
ps_equals,
ps_value,
ps_pack,
ps_left,
ps_align,
ps_right
};
/* When structure field packing is in effect, this variable is the /* When structure field packing is in effect, this variable is the
number of bits to use as the maximum alignment. When packing is not number of bits to use as the maximum alignment. When packing is not
in effect, this is zero. */ in effect, this is zero. */
......
...@@ -3648,6 +3648,22 @@ output_constructor (exp, size) ...@@ -3648,6 +3648,22 @@ output_constructor (exp, size)
/* Support #pragma weak by default if WEAK_ASM_OP is defined. */ /* Support #pragma weak by default if WEAK_ASM_OP is defined. */
#if defined (HANDLE_PRAGMA_WEAK) || (defined (WEAK_ASM_OP) && defined (SET_ASM_OP)) #if defined (HANDLE_PRAGMA_WEAK) || (defined (WEAK_ASM_OP) && defined (SET_ASM_OP))
/* See c-pragma.c for an identical definition. */
enum pragma_state
{
ps_start,
ps_done,
ps_bad,
ps_weak,
ps_name,
ps_equals,
ps_value,
ps_pack,
ps_left,
ps_align,
ps_right
};
/* Output asm to handle ``#pragma weak'' */ /* Output asm to handle ``#pragma weak'' */
void void
handle_pragma_weak (what, asm_out_file, name, value) handle_pragma_weak (what, asm_out_file, name, value)
......
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