This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
as constant calculation question
- From: Efim Monyak <ymonyak at lipowsky dot de>
- To: binutils at sourceware dot org
- Date: Wed, 30 Apr 2008 11:15:18 +0200
- Subject: as constant calculation question
Hi all,
does anyone know why as for ARM can use
.word __load_section_end__
.word __init_start__
.word __load_section_end__ - 0x300000
but not:
.word __load_section_end__ - __init_start__
Values __load_section_end__ and __init_start__ are sed by ld linker
In this case I receive error message:
Error: can't resolve `__load_section_end__' {*UND* section} -
`__init_start__' {*UND* section}
Thanks