[lkml]   [2000]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: ADFS -> undefined reference to __cmpdi2 (2.3.51)
    On Sat, Mar 11, 2000 at 03:49:06PM +0000, Russell King wrote:
    > Matti Aarnio writes:
    > > NO architecture should put libgcc.a into the kernel link.
    > > Which does ?
    > ARM does, and I am not going to remove it at this point in time. It has
    > worked for us ever since the conception of ARM Linux 6 years ago.
    > What is your problem with libgcc.a?

    As Linus hasn't put it into i386 (nor Alpha), he has
    some good reason. Ask him for guidance.

    Mainly I think we should NEVER use slow 64/* division routines
    in fast paths.

    Case of ADFS (and Apple HFS, and quite a many others) is that
    they don't support file sizes exceeding 32 bits, do they ?

    In such environments, VFS i_size (and loff_t *ppos) are
    extra large for what is needed, and before doing block size
    divisions, you can safely cast the value to (long).

    As an end-result you will get your system free of need for
    libgcc.a, and possible dangers lurking in it.

    > | | Russell King --- ---
    > / | THE developer of ARM Linux |+| /|\

    /Matti Aarnio

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:57    [W:0.020 / U:8.756 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site