<lekernel> aeris: thx
<mwalle> ".patch" is not a permitted file type. Permitted file types are png, gif, jpg, jpeg, zip, bz2, gz.
<mwalle> mh :)
<mwalle> on the mm wiki
<lekernel> is that a gcc patch?
<lekernel> ah, binutils too...
<lekernel> mwalle: should be ok now
<mwalle> lekernel: thx
<mwalle> antgreen: do you know where crtn/crts belongs to? (uc)libc and/or gcc ?
<larsc> how does elf2flat work?
<roh> patch iss a stupid extension... use .diff
<mwalle> larsc: generates a table with offsets of the relocations
<mwalle> and either uses the real ld to do the relocation or does it on its own
<mwalle> the kernel can then with the help of this table add the base address offset (for the text segment, or base+text_len for the data segment) to every relocation
<larsc> but couldn't the kernel create the table as well and run the elf binary directly?
<mwalle> roh: roh so why should diff be better?
<mwalle> larsc: flat is is stripped elf :)
<mwalle> for static non pic executables this should be possible
<mwalle> but flat can also do shared libraries
<mwalle> on mmuless systems
<larsc> i thought for a mmu less system every binary has to have pic?
<mwalle> with the relocation from above it hasnt to be pic
<mwalle> link your program with base=0
<roh> mwalle: less confusion. expecially since people call the flickrnoise 'files' patches
<roh> the milkdrop compatible stuff
<mwalle> larsc: do you understand copy_thread() in arch/lm32/kernel/process.c?
<lekernel> I added both .patch and .diff
<lekernel> and I don't really care about such details. btw, flickernoise patches use .fnp
<lekernel> mwalle: so if it's not pic, there are relocations in the .text section and it can't be shared?
<mwalle> lekernel: yes atm the are no shared libs possible :)
<mwalle> but we are at the same point like theobroma with their hacked 'elf' loader
<mwalle> the lm32 thread creation seems to be huge mess..
<larsc> mwalle: a bit
<larsc> and yes signal/syscall/process handling needs some cleanup
<mwalle>     /* Avoid `function does return' warnings.  */
<mwalle>     for (;;)
<mwalle>       ;
<mwalle> lol
<roh> hihi
<kristianpaul> -_-
<antgreen> mwalle: there's no standard on crt* ownership
<antgreen> it depends on the target
<antgreen> what target are you talking about?