Re:ELF Linker script quick question
Posted: Wed May 31, 2006 7:20 am
Did you test it out on Linux/CYGWIN? I will be trying this out on Linux but need to reboot to do that
No one else who tried this?
No one else who tried this?
The Place to Start for Operating System Developers
http://f.osdev.org/
I tested it on Cygwin. I have a VM with Mandrake 9.2 on it, but I don't remember if I tested with that or not. It has exactly the same verions of binutils and gcc as my Cygwin installation does.Neo wrote:Did you test it out on Linux/CYGWIN?
You probably want to get a cvs snapshot since there hasn't been an official stable release. Of course, some people have created releases from the snapshots for various systems, byt cvs is probably your best optionNeo wrote: Anyone know where I can get version 2.17 of binutils from? Need to check this out further.
I had to add one to HigherHalfBareBones (and my own kernel) when I started compiling with optimizations enabled. The compiler added new sections called .rodata.something (I forget what the something was). I think it contained string constants, but I don't remember exactly...mystran wrote: Also, for one reason or other, I'm using *(.rodata*) with the extra star in my script.
The *(.rodata*) and *(COMMON) are both there in my script.mystran wrote: Actually, try adding *(COMMON) to .bss. Also, for one reason or other, I'm using *(.rodata*) with the extra star in my script.