division in ld scripts

John Reiser jreiser@bitwagon.com
Wed Sep 9 14:46:00 GMT 2009


> Is it known/intended/documented that using the division operator (/) in
> ld scripts requires a blank to follow, at least in some cases (see below)?

> SECTIONS
> {

>    . = 0x00401000/2;

It's a bug: forgetting to put back the look-ahead character
when checking for "/*" as start-of-comment, but not finding '*'.

-- 



More information about the Binutils mailing list