From: Chris E. <cem...@ch...> - 2000-05-01 16:34:18
|
On Mon, 1 May 2000, Jeff Dike wrote: > > 0fee8000-0ffc9000 r-xp 00000000 03:09 120950 /lib/libc-2.1.3.so > > 0ffc9000-0ffd8000 ---p 000e1000 03:09 120950 /lib/libc-2.1.3.so > > 0ffd8000-0ffeb000 rwxp 000e0000 03:09 120950 /lib/libc-2.1.3.so > > These are more like what I'd expect. Except that "---p", that's pretty > strange. Yes, 'tis a bit. The offset 000e1000 puts it in the .data section of the library, I think. > The ls permissions: > > 10000000-1000c000 r-xp 00000000 03:09 30304 /bin/ls > > 1001b000-1001d000 rwxp 0000b000 03:09 30304 /bin/ls > are still a bit different. It still looks like just text, data, stack, with > no separate bss. > Where do binaries typically load on ppc? Is ls typical, loading at > 0x10000000? If so, we're going to have to move linux higher, like > to 0x20000000. That does seem to be typical, although there are a few exceptions (mostly kernel threads). > > Do you want to do that? :-) > > I'm in the process of doing that. Cool. > What I've done so far is get rid of the i386 stuff from the build, > and move the ptrace and register stuff into separate directories. > So, you'll be able to just do the ppc equivalent of the i386 stuff, > and it ought to work. Looking forward to it! > What's the ppc page size? It's 4k, same as i386. Chris -- Chris Emerson, obsessed Cambridge juggler E-mail: cem...@ch... Web page: http://www.chiark.greenend.org.uk/~cemerson/ |