diff options
author | Roberto Vargas <roberto.vargas@arm.com> | 2018-04-17 11:31:43 +0100 |
---|---|---|
committer | Roberto Vargas <roberto.vargas@arm.com> | 2018-07-11 09:22:56 +0100 |
commit | b2805dabaa8292ad158039c59b1577e7ce07ea43 (patch) | |
tree | 8a18c1230c93ad0143f68408c3707b8e66abd81c /plat | |
parent | 2adee763f1ec8d8ed0663d727c7aabce49c726a0 (diff) | |
download | arm-trusted-firmware-b2805dabaa8292ad158039c59b1577e7ce07ea43.tar.gz |
Remove .func and .endfunc assembler directives
These directives are only used when stabs debugging information
is used, but we use ELF which uses DWARF debugging information.
Clang assembler doesn't support these directives, and removing
them makes the code more compatible with clang.
Change-Id: I2803f22ebd24c0fe248e04ef1b17de9cec5f89c4
Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
Diffstat (limited to 'plat')
-rw-r--r-- | plat/rockchip/common/pmusram/pmu_sram_cpus_on.S | 1 | ||||
-rw-r--r-- | plat/rockchip/rk3399/drivers/pmu/plat_pmu_macros.S | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/plat/rockchip/common/pmusram/pmu_sram_cpus_on.S b/plat/rockchip/common/pmusram/pmu_sram_cpus_on.S index 5a1854b42..991fe6cf8 100644 --- a/plat/rockchip/common/pmusram/pmu_sram_cpus_on.S +++ b/plat/rockchip/common/pmusram/pmu_sram_cpus_on.S @@ -12,7 +12,6 @@ .macro pmusram_entry_func _name .section .pmusram.entry, "ax" .type \_name, %function - .func \_name .cfi_startproc \_name: .endm diff --git a/plat/rockchip/rk3399/drivers/pmu/plat_pmu_macros.S b/plat/rockchip/rk3399/drivers/pmu/plat_pmu_macros.S index 70fd9bfc8..546c09a1e 100644 --- a/plat/rockchip/rk3399/drivers/pmu/plat_pmu_macros.S +++ b/plat/rockchip/rk3399/drivers/pmu/plat_pmu_macros.S @@ -15,7 +15,6 @@ .cfi_sections .debug_frame .section .sram.text, "ax" .type \_name, %function - .func \_name .cfi_startproc \_name: .endm |