elfos.h (ASM_DECLARE_OBJECT_NAME): Care for null DECL.
* config/elfos.h (ASM_DECLARE_OBJECT_NAME): Care for null DECL. * config/ia64/sysv4.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise. From-SVN: r35412
This commit is contained in:
parent
7e2fda6e4a
commit
0577bad8bf
@ -1,3 +1,8 @@
|
||||
2000-08-01 Richard Henderson <rth@cygnus.com>
|
||||
|
||||
* config/elfos.h (ASM_DECLARE_OBJECT_NAME): Care for null DECL.
|
||||
* config/ia64/sysv4.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.
|
||||
|
||||
2000-08-01 Bernd Schmidt <bernds@cygnus.co.uk>
|
||||
|
||||
From Joern Rennecke:
|
||||
|
@ -582,7 +582,8 @@ dtors_section () \
|
||||
\
|
||||
size_directive_output = 0; \
|
||||
\
|
||||
if (!flag_inhibit_size_directive && DECL_SIZE (DECL)) \
|
||||
if (!flag_inhibit_size_directive \
|
||||
&& (DECL) && DECL_SIZE (DECL)) \
|
||||
{ \
|
||||
size_directive_output = 1; \
|
||||
fprintf (FILE, "\t%s\t ", SIZE_ASM_OP); \
|
||||
|
@ -37,7 +37,8 @@ extern int size_directive_output;
|
||||
#undef ASM_OUTPUT_ALIGNED_LOCAL
|
||||
#define ASM_OUTPUT_ALIGNED_DECL_LOCAL(FILE, DECL, NAME, SIZE, ALIGN) \
|
||||
do { \
|
||||
if (XSTR (XEXP (DECL_RTL (DECL), 0), 0)[0] == SDATA_NAME_FLAG_CHAR) \
|
||||
if ((DECL) \
|
||||
&& XSTR (XEXP (DECL_RTL (DECL), 0), 0)[0] == SDATA_NAME_FLAG_CHAR) \
|
||||
sbss_section (); \
|
||||
else \
|
||||
bss_section (); \
|
||||
|
Loading…
Reference in New Issue
Block a user