Can't get ASSERT() to work in ld script.

Grant Edwards grante@visi.com
Wed Feb 14 14:51:00 GMT 2001


I've spend hours trying to get a simple ASSSERT() statement to
work in a linker script.

I've tried every variation of ASSERT() syntax I can think of
and all of them generate parse errors.

Can somebody point me to an example link script with an ASSERT?

$ arm-elf-ld --version
GNU ld 2.10
[...]
  Supported emulations:
   armelf

-- 
Grant Edwards
grante@visi.com



More information about the Binutils mailing list