Commit 648f5f04 by Nick Clifton Committed by Nick Clifton

Handle a NULL DECL being passed to ASM_OUTPUT_ALIGNED_DECL_LOCAL.

From-SVN: r46787
parent d56a8211
2001-11-05 Nick Clifton <nickc@cambridge.redhat.com>
* config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Handle
DECL being NULL.
Mon Nov 5 16:15:25 CET 2001 Jan Hubicka <jh@suse.cz>
* Makefile.in (bb-reoder.o): Add depdendency on cfglayout.h;
......
......@@ -75,7 +75,7 @@ Boston, MA 02111-1307, USA. */
#define ASM_OUTPUT_ALIGNED_DECL_LOCAL(FILE, DECL, NAME, SIZE, ALIGN) \
do \
{ \
if (IN_NAMED_SECTION (DECL)) \
if ((DECL) != NULL && IN_NAMED_SECTION (DECL)) \
named_section (DECL, NULL, 0); \
else \
bss_section (); \
......
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