On Fri, Feb 25, 2011 at 03:16:08PM +0100, Skacore Systems wrote:
>     .byte \astart / 2

This is the problem.

> as test.S -o test.o
> test.S: Assembler messages:
> test.S:26: Error: invalid sections for operation on `Manufacturer_ID_String'
> and `L0'

You can't divide a relocatable symbol like Manufacturer_ID_String by
two (unless your target happens to have a relocation that would allow
the linker to perform the divide for you).

-- 
Alan Modra
Australia Development Lab, IBM

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to