[pushed] Darwin, Simplify headers 3/5 : Delete dead code.
Iain Sandoe
iain@sandoe.co.uk
Sat Jan 2 20:14:37 GMT 2021
Hi,
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.
tested as part 0
pushed to master
Iain
gcc/ChangeLog:
* config/darwin9.h (ASM_OUTPUT_ALIGNED_COMMON): Delete.
---
gcc/config/darwin9.h | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/gcc/config/darwin9.h b/gcc/config/darwin9.h
index 125a35e7fc7..92a77eeec71 100644
--- a/gcc/config/darwin9.h
+++ b/gcc/config/darwin9.h
@@ -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"
--
2.24.1
More information about the Gcc-patches
mailing list