From ab26199428a588efa1bc1eac98748f504add4b90 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Wed, 13 Dec 2023 13:54:29 +0100 Subject: [PATCH] gcc: remove obsolete macro definitions ASM_OUTPUT_MAX_SKIP_ALIGN has a generic definition in i386.h, we don't need to provide our own anymore ASM_OUTPUT_MAX_SKIP_PAD is an old name for ASM_OUTPUT_MAX_SKIP_ALIGN, it was removed from gcc code in 2021 and is not used anywhere. Change-Id: Ib9c3a5aeccce030c7875a1e4a4dbce46618b1a05 Reviewed-on: https://review.haiku-os.org/c/buildtools/+/7206 Reviewed-by: waddlesplash --- gcc/gcc/config/i386/haiku.h | 13 ------------- gcc/gcc/config/i386/haiku64.h | 29 ----------------------------- 2 files changed, 42 deletions(-) diff --git a/gcc/gcc/config/i386/haiku.h b/gcc/gcc/config/i386/haiku.h index 4d43c6bbfa..4db6266e1c 100644 --- a/gcc/gcc/config/i386/haiku.h +++ b/gcc/gcc/config/i386/haiku.h @@ -63,19 +63,6 @@ Boston, MA 02111-1307, USA. */ #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \ asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN) -/* A C statement to output to the stdio stream FILE an assembler - command to advance the location counter to a multiple of 1< 8 byte \ - alignment is preferred. */ \ - if ((LOG) > 3 \ - && (1 << (LOG)) > ((MAX_SKIP) + 1) \ - && (MAX_SKIP) >= 7) \ - fputs ("\t.p2align 3\n", (FILE)); \ - } \ - } \ - } while (0) -#undef ASM_OUTPUT_MAX_SKIP_PAD -#define ASM_OUTPUT_MAX_SKIP_PAD(FILE, LOG, MAX_SKIP) \ - if ((LOG) != 0) \ - { \ - if ((MAX_SKIP) == 0) \ - fprintf ((FILE), "\t.p2align %d\n", (LOG)); \ - else \ - fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \ - } -#endif - /* Output assembler code to FILE to call the profiler. */ #define NO_PROFILE_COUNTERS 1