Darwin, Simplify headers 3/5 : Delete dead code.
authorIain Sandoe <iain@sandoe.co.uk>
Thu, 31 Dec 2020 09:31:04 +0000 (09:31 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Sat, 2 Jan 2021 19:56:19 +0000 (19:56 +0000)
Darwin defines ASM_OUTPUT_ALIGNED_DECL_COMMON which is used in
preference to ASM_OUTPUT_ALIGNED_COMMON, which makes the latter
definition dead code.  Remove this.

gcc/ChangeLog:

* config/darwin9.h (ASM_OUTPUT_ALIGNED_COMMON): Delete.

gcc/config/darwin9.h

index 125a35e..92a77ee 100644 (file)
@@ -18,16 +18,5 @@ You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
-#undef  ASM_OUTPUT_ALIGNED_COMMON
-#define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGN)             \
-  do {                                                                 \
-    unsigned HOST_WIDE_INT _new_size = (SIZE);                         \
-    fprintf ((FILE), "\t.comm ");                                              \
-    assemble_name ((FILE), (NAME));                                    \
-    if (_new_size == 0) _new_size = 1;                                 \
-    fprintf ((FILE), "," HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",          \
-            _new_size, floor_log2 ((ALIGN) / BITS_PER_UNIT));          \
-  } while (0)
-
 #undef DEF_MIN_OSX_VERSION
 #define DEF_MIN_OSX_VERSION "10.5"