Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__
authorJulius Werner <jwerner@chromium.org>
Tue, 9 Jul 2019 20:49:11 +0000 (13:49 -0700)
committerJulius Werner <jwerner@chromium.org>
Thu, 1 Aug 2019 20:14:12 +0000 (13:14 -0700)
commitd5dfdeb65ff5b7f24dded201d2945c7b74565ce8
treec6f6607a5bab02c7497689e043db50fad88158f8
parentf61469e532c05bfe0de06620e8762db18414a357
Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__

NOTE: __ASSEMBLY__ macro is now deprecated in favor of __ASSEMBLER__.

All common C compilers predefine a macro called __ASSEMBLER__ when
preprocessing a .S file. There is no reason for TF-A to define it's own
__ASSEMBLY__ macro for this purpose instead. To unify code with the
export headers (which use __ASSEMBLER__ to avoid one extra dependency),
let's deprecate __ASSEMBLY__ and switch the code base over to the
predefined standard.

Change-Id: Id7d0ec8cf330195da80499c68562b65cb5ab7417
Signed-off-by: Julius Werner <jwerner@chromium.org>
90 files changed:
Makefile
bl32/tsp/tsp_private.h
drivers/arm/css/sds/sds_private.h
drivers/imx/uart/imx_uart.h
drivers/renesas/rcar/delay/micro_delay.h
drivers/renesas/rcar/pwrc/pwrc.c
drivers/renesas/rcar/pwrc/pwrc.h
include/arch/aarch32/smccc_helpers.h
include/arch/aarch64/smccc_helpers.h
include/bl1/bl1.h
include/bl31/ehf.h
include/bl31/interrupt_mgmt.h
include/bl32/tsp/tsp.h
include/common/bl_common.h
include/common/debug.h
include/common/ep_info.h
include/common/interrupt_props.h
include/common/param_header.h
include/common/runtime_svc.h
include/drivers/arm/cci.h
include/drivers/arm/ccn.h
include/drivers/arm/css/sds.h
include/drivers/arm/fvp/fvp_pwrc.h
include/drivers/arm/gicv2.h
include/drivers/arm/gicv3.h
include/drivers/arm/pl011.h
include/drivers/arm/sp805.h
include/drivers/arm/tzc400.h
include/drivers/arm/tzc_dmc500.h
include/drivers/auth/mbedtls/mbedtls_config.h
include/drivers/cadence/cdns_uart.h
include/drivers/console.h
include/drivers/marvell/cache_llc.h
include/drivers/marvell/ccu.h
include/drivers/marvell/uart/a3700_console.h
include/drivers/meson/meson_console.h
include/drivers/renesas/rcar/console/console.h
include/drivers/st/stm32_console.h
include/drivers/st/stm32_gpio.h
include/drivers/ti/uart/uart_16550.h
include/lib/bakery_lock.h
include/lib/cpus/aarch32/cortex_a9.h
include/lib/cpus/aarch64/cortex_a75.h
include/lib/cpus/aarch64/cpuamu.h
include/lib/cpus/aarch64/denver.h
include/lib/cpus/errata_report.h
include/lib/el3_runtime/aarch32/context.h
include/lib/el3_runtime/aarch64/context.h
include/lib/el3_runtime/cpu_data.h
include/lib/extensions/ras.h
include/lib/extensions/ras_arch.h
include/lib/libc/aarch64/setjmp_.h
include/lib/libc/setjmp.h
include/lib/libfdt/fdt.h
include/lib/psci/psci.h
include/lib/psci/psci_lib.h
include/lib/runtime_instr.h
include/lib/smccc.h
include/lib/spinlock.h
include/lib/utils.h
include/lib/utils_def.h
include/lib/xlat_tables/xlat_mmu_helpers.h
include/lib/xlat_tables/xlat_tables.h
include/lib/xlat_tables/xlat_tables_v2.h
include/lib/xlat_tables/xlat_tables_v2_helpers.h
include/plat/arm/board/common/board_css_def.h
include/plat/arm/css/common/css_def.h
include/services/spm_svc.h
lib/romlib/Makefile
make_helpers/build_macros.mk
plat/arm/css/sgi/include/sgi_base_platform_def.h
plat/arm/css/sgm/include/sgm_base_platform_def.h
plat/hisilicon/hikey/include/hisi_pwrc.h
plat/imx/common/include/imx8_lpuart.h
plat/imx/common/include/imx_uart.h
plat/layerscape/common/include/ls_16550.h
plat/marvell/a3700/common/include/platform_def.h
plat/marvell/a8k/common/include/platform_def.h
plat/mediatek/mt8183/drivers/mcsi/mcsi.h
plat/nvidia/tegra/include/drivers/memctrl_v2.h
plat/nvidia/tegra/include/tegra_platform.h
plat/renesas/rcar/include/platform_def.h
plat/rockchip/common/include/plat_private.h
plat/rockchip/common/pmusram/cpus_on_fixed_addr.h
plat/st/stm32mp1/stm32mp1_def.h
services/spd/opteed/opteed_private.h
services/spd/tlkd/tlkd_private.h
services/spd/tspd/tspd_private.h
services/std_svc/spm/spm_private.h
services/std_svc/spm_mm/spm_private.h