| lekernel | aeris: thx | 07:38 |
|---|---|---|
| mwalle | ".patch" is not a permitted file type. Permitted file types are png, gif, jpg, jpeg, zip, bz2, gz. | 12:14 |
| mwalle | mh :) | 12:14 |
| mwalle | on the mm wiki | 12:15 |
| lekernel | is that a gcc patch? | 12:21 |
| lekernel | ah, binutils too... | 12:22 |
| lekernel | mwalle: should be ok now | 12:25 |
| mwalle | lekernel: thx | 12:26 |
| mwalle | antgreen: do you know where crtn/crts belongs to? (uc)libc and/or gcc ? | 12:27 |
| larsc | how does elf2flat work? | 14:15 |
| roh | patch iss a stupid extension... use .diff | 14:34 |
| mwalle | larsc: generates a table with offsets of the relocations | 14:39 |
| mwalle | and either uses the real ld to do the relocation or does it on its own | 14:39 |
| 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 | 14:41 |
| larsc | but couldn't the kernel create the table as well and run the elf binary directly? | 14:42 |
| mwalle | roh: roh so why should diff be better? | 14:43 |
| mwalle | larsc: flat is is stripped elf :) | 14:44 |
| mwalle | for static non pic executables this should be possible | 14:44 |
| mwalle | but flat can also do shared libraries | 14:45 |
| mwalle | on mmuless systems | 14:45 |
| larsc | i thought for a mmu less system every binary has to have pic? | 14:46 |
| mwalle | with the relocation from above it hasnt to be pic | 14:47 |
| mwalle | link your program with base=0 | 14:47 |
| roh | mwalle: less confusion. expecially since people call the flickrnoise 'files' patches | 14:47 |
| roh | the milkdrop compatible stuff | 14:47 |
| mwalle | larsc: do you understand copy_thread() in arch/lm32/kernel/process.c? | 15:04 |
| lekernel | I added both .patch and .diff | 15:17 |
| lekernel | and I don't really care about such details. btw, flickernoise patches use .fnp | 15:18 |
| lekernel | mwalle: so if it's not pic, there are relocations in the .text section and it can't be shared? | 15:19 |
| mwalle | lekernel: yes atm the are no shared libs possible :) | 15:24 |
| mwalle | but we are at the same point like theobroma with their hacked 'elf' loader | 15:25 |
| mwalle | the lm32 thread creation seems to be huge mess.. | 15:27 |
| larsc | mwalle: a bit | 15:32 |
| larsc | and yes signal/syscall/process handling needs some cleanup | 15:33 |
| mwalle | /* Avoid `function does return' warnings. */ | 18:20 |
| mwalle | for (;;) | 18:20 |
| mwalle | ; | 18:20 |
| mwalle | lol | 18:20 |
| roh | hihi | 18:26 |
| kristianpaul | -_- | 18:42 |
| antgreen | mwalle: there's no standard on crt* ownership | 19:01 |
| antgreen | it depends on the target | 19:01 |
| antgreen | what target are you talking about? | 19:01 |
| --- Mon Jan 24 2011 | 00:00 | |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!