Commit a072504b by Doug Evans

varasm.c (asm_output_bss): New argument DECL.

	* varasm.c (asm_output_bss): New argument DECL.
	Use ASM_DECLARE_OBJECT_NAME if defined.
	(asm_output_aligned_bss): Likewise.
	(assemble_variable): Pass DECL to ASM_OUTPUT{,_ALIGNED}_BSS.
	* m68k/coff.h (ASM_OUTPUT_ALIGNED_BSS): Update.

From-SVN: r12092
parent 24786cfa
...@@ -87,12 +87,12 @@ Boston, MA 02111-1307, USA. */ ...@@ -87,12 +87,12 @@ Boston, MA 02111-1307, USA. */
#define BSS_SECTION_ASM_OP ".section\t.bss" #define BSS_SECTION_ASM_OP ".section\t.bss"
/* A C statement (sans semicolon) to output to the stdio stream /* A C statement (sans semicolon) to output to the stdio stream
FILE the assembler definition of an uninitialized global label named FILE the assembler definition of uninitialized global DECL named
NAME whose size is SIZE bytes and alignment is ALIGN bytes. NAME whose size is SIZE bytes and alignment is ALIGN bytes.
Try to use asm_output_aligned_bss to implement this macro. */ Try to use asm_output_aligned_bss to implement this macro. */
#define ASM_OUTPUT_ALIGNED_BSS(FILE, NAME, SIZE, ALIGN) \ #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \
asm_output_aligned_bss ((FILE), (NAME), (SIZE), (ALIGN)) asm_output_aligned_bss ((FILE), (DECL), (NAME), (SIZE), (ALIGN))
/* Support generic sections */ /* Support generic sections */
......
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