This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]