Syntax error in linker script
<p>I have a syntax error on line 8<br>
I have read the <a href="http://www.math.utah.edu/docs/info/ld_3.html" rel="nofollow">GNU docs</a> concerning the syntax and managed to solve the syntax error but got incompatibility issues<br>
Here's my script:  </p>

<pre><code>ENTRY (loader)
OUTPUT ("kernel.bin")

addr = 0x100000;
SECTIONS
{
        .text addr: 
        ALIGN(0x1000)
        {
            *(.text*);
            *(.rodata*);
        }

        .data:
        ALIGN(0x1000)
        {
            *(.data*);
        }

        .bss:
        ALIGN(0x1000)
        {
            *(.bss*);
        }
}
</code></pre>

<p>Please excuse me as I'm just trying to startup with OSDeving with a Hello World sample</p>