|
From: | Seth Goldberg |
Subject: | Need --divide flag for assembly of startup.S on some platforms |
Date: | Thu, 2 Dec 2010 13:15:10 -0800 (PST) |
User-agent: | Alpine 2.00 (GSO 1167 2008-08-23) |
Hi,When assembling grub-core/kern/i386/pc/startup.S, gas on some platforms chokes on this line:
movl $((LOCAL(bypass_table_end) - LOCAL(bypass_table)) / 2), %ecxBecause on non i386-linux targets, '/' is used as a comment delimiter for compatibility purposes. This can be overridden with the --divide switch.
Since the default for gas on these platforms is to use he division operator as a comment delimiter, the "-Wa,--divide" flags need to be passed on the gcc command line when assembling such files.
--S
[Prev in Thread] | Current Thread | [Next in Thread] |