1From 064a63860bf9ee4bf54facb76ca66f9f957d4797 Mon Sep 17 00:00:00 2001 2From: Khem Raj <raj.khem@gmail.com> 3Date: Tue, 29 Jan 2019 11:12:38 -0800 4Subject: [PATCH] cpuburn*.S: Remove .func/.endfunc 5 6These are needed to generate stabs debug info which we dont use 7and are silently ignored by gnu assembler when unused, clang assembler 8however barfs, so remove them 9 10Upstream-Status: Pending 11Signed-off-by: Khem Raj <raj.khem@gmail.com> 12 13--- 14 cpuburn-a7.S | 2 -- 15 cpuburn-a8.S | 2 -- 16 cpuburn-a9.S | 2 -- 17 3 files changed, 6 deletions(-) 18 19diff --git a/cpuburn-a7.S b/cpuburn-a7.S 20index 74e925a..c1e308c 100644 21--- a/cpuburn-a7.S 22+++ b/cpuburn-a7.S 23@@ -42,7 +42,6 @@ 24 25 .global main 26 27-.func main 28 .type main, %function 29 main: 30 push {r4-r12, lr} 31@@ -88,4 +87,3 @@ main: 32 33 mov r0, #0 34 pop {r4-r12, pc} 35-.endfunc 36diff --git a/cpuburn-a8.S b/cpuburn-a8.S 37index c6f93a6..a42f5a5 100644 38--- a/cpuburn-a8.S 39+++ b/cpuburn-a8.S 40@@ -46,7 +46,6 @@ 41 /* 16 seems to be a good choice */ 42 #define STEP 16 43 44-.func main 45 .thumb_func 46 main: 47 mov lr, pc 48@@ -70,4 +69,3 @@ main: 49 subs lr, lr, #(STEP * 4) 50 .endr 51 bne 0b 52-.endfunc 53diff --git a/cpuburn-a9.S b/cpuburn-a9.S 54index 0338b00..a1ccae5 100644 55--- a/cpuburn-a9.S 56+++ b/cpuburn-a9.S 57@@ -48,7 +48,6 @@ 58 /* 64 seems to be a good choice */ 59 #define STEP 64 60 61-.func main 62 .type main, %function 63 main: 64 65@@ -94,4 +93,3 @@ main: 66 subsne lr, lr, #(STEP * 4) 67 .endr 68 bne 0b 69-.endfunc 70