Re: dietlibc: Debian redistribution

Enrico Scholz <[email protected]> Sun, 10 Jul 2011 12:44:41 +0200
Newsgroups gmane.linux.lib.dietlibc
Message-ID <[email protected]>
[email protected] (Felix von Leitner) writes:

> I don't actually have an ARM.  I did import the ARM patches a while
> ago.

not all ones... e.g. my patches[1] generates two instructions per syscall:

  0000e048 <kill>:
      e048:       e3a0c025        mov     ip, #37 ; 0x25
      e04c:       eafff45a        b       b1bc <__unified_syscall_swi>

where the old code[2] generates

  0000e0dc <kill>:
      e0dc:       e92d40b0        push    {r4, r5, r7, lr}
      e0e0:       e59d4010        ldr     r4, [sp, #16]
      e0e4:       e59d5014        ldr     r5, [sp, #20]
      e0e8:       e3a07025        mov     r7, #37 ; 0x25
      e0ec:       ef000000        svc     0x00000000
      e0f0:       eafff452        b       b240 <__unified_syscall>



Enrico

Footnotes: 
[1]  https://www.cvg.de/people/ensc/getaddrinfo-new.S

[2]  https://www.cvg.de/people/ensc/getaddrinfo-old.S