as constant calculation question

Efim Monyak ymonyak@lipowsky.de
Wed Apr 30 12:21:00 GMT 2008


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




More information about the Binutils mailing list