From: David Edelsohn Date: Tue, 8 Nov 2016 19:40:54 +0000 (+0000) Subject: dwarf2asm.c (USE_LINKONCE_INDIRECT): Test XCOFF_DEBUGGING_INFO at runtime. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f31d9224e6346c775648139ae3f5acf3b70582e0;p=gcc.git dwarf2asm.c (USE_LINKONCE_INDIRECT): Test XCOFF_DEBUGGING_INFO at runtime. * dwarf2asm.c (USE_LINKONCE_INDIRECT): Test XCOFF_DEBUGGING_INFO at runtime. From-SVN: r241975 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7e128080e6e..76b2d3f2329 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-11-08 David Edelsohn + + * dwarf2asm.c (USE_LINKONCE_INDIRECT): Test XCOFF_DEBUGGING_INFO + at runtime. + 2016-11-08 Uros Bizjak PR target/70799 diff --git a/gcc/dwarf2asm.c b/gcc/dwarf2asm.c index 80f385b0e13..2e0aae40827 100644 --- a/gcc/dwarf2asm.c +++ b/gcc/dwarf2asm.c @@ -824,8 +824,8 @@ static GTY(()) hash_map *indirect_pool; static GTY(()) int dw2_const_labelno; -#if defined(HAVE_GAS_HIDDEN) && !defined(XCOFF_DEBUGGING_INFO) -# define USE_LINKONCE_INDIRECT (SUPPORTS_ONE_ONLY) +#if defined(HAVE_GAS_HIDDEN) +# define USE_LINKONCE_INDIRECT (SUPPORTS_ONE_ONLY && !XCOFF_DEBUGGING_INFO) #else # define USE_LINKONCE_INDIRECT 0 #endif