From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rieger, David Date: Mon, 16 Jan 2017 13:44:04 +0000 Subject: [OpenRISC] Clang does not understand .word directive in crt0.S in newlib source In-Reply-To: References: Message-ID: <1484574244679.60813@student.kit.edu> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: openrisc@lists.librecores.org Replacing .word with .int did the trick. ________________________________ From: OpenRISC on behalf of Rieger, David Sent: Monday, January 16, 2017 12:24 PM To: openrisc@lists.librecores.org Subject: [OpenRISC] Clang does not understand .word directive in crt0.S in newlib source Hello everyone I am trying to compile newlib using clang/LLVM 3.8.1 with the or1k target. However, compilation fails on newlib-source/libgloss/or1k/crt0.S with clang complaining it does not know the ".word" assembler directive: ../newlib-source/libgloss/or1k/crt0.S:83:19: error: unknown directive _or1k_stack_size: .word 8192 ^ ../newlib-source/libgloss/or1k/crt0.S:84:29: error: unknown directive _or1k_exception_stack_size: .word 8192 Any help in how I can fix this so clang compiles the file would be greatly appreciated. Thanks David -------------- next part -------------- An HTML attachment was scrubbed... URL: