lkml.org 
[lkml]   [1999]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] {asm-i386,linux}/string.h:Adjustments for **NOT** usinggcc builtins


    wrote:
    >
    > Giacomo Amabile Catenazzi <cate@student.ethz.ch> said:
    > > This patch (to linux-2.3.4) fixes:
    > > 1- Force the compiler not to use the builtin (in compiler) str* and mem*
    > > function, by rename it with preprocessor
    > > NOTE: I have modified more function that actually need.
    >
    > Not needed, if the <linux/string.h> header is included whereever needed.

    My test with strcmp (wich is buitin) with gcc-2.7.2.3 and egcs-1.1.2
    report:
    if compiler found strcmp, use internal buitin, also if I've declared
    a strcmp inline.
    strlen instead, seem to check if there are an inline function, before
    use the strlen-builtin. (strlen is builtin only on egcs).

    Also with gcc-2.7.2.3 Horst von Brand PATCH do nothing (the funtions are
    already builtin)

    Giacomo Catenazzi

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:52    [W:4.071 / U:0.160 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site