[PATCH 2/8] arc: libgloss: Switch from .balign to .align

Yuriy.Kolerov@synopsys.com Yuriy.Kolerov@synopsys.com
Tue Aug 20 12:10:37 GMT 2024


From: Alexey Brodkin <abrodkin@synopsys.com>

.align is supported by both GCC & MetaWare compiler for ARC,
yet implements the same semantics as .balign which only works
with GCC.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
---
 libgloss/arc/crt0.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libgloss/arc/crt0.S b/libgloss/arc/crt0.S
index 0c2a2bd26..36b9c250a 100644
--- a/libgloss/arc/crt0.S
+++ b/libgloss/arc/crt0.S
@@ -276,4 +276,4 @@ _exit_halt:
 	nop
 #endif
 	b	@_exit_halt
-.balign 4
+.align 4
-- 
2.34.1



More information about the Newlib mailing list