cvs commit: src/lib/libc/gen _pthread_stubs.c _spinlock_stub.c src/lib/libc/stdio _flock_stub.c src/lib/libc/sys __error.c

Joerg Sonnenberger joerg at crater.dragonflybsd.org
Tue Feb 1 14:35:52 PST 2005


joerg       2005/02/01 14:35:19 PST

DragonFly src repository

  Modified files:
    lib/libc/gen         _pthread_stubs.c _spinlock_stub.c 
    lib/libc/stdio       _flock_stub.c 
    lib/libc/sys         __error.c 
  Log:
  GCC 3.4 doesn't include a #pragma weak reference, if the symbol
  doesn't exist anyway. This broke the build obviously.
  Change the places in libc which used the pragma to use __weak_reference.
  
  Revision  Changes    Path
  1.2       +13 -14    src/lib/libc/gen/_pthread_stubs.c
  1.5       +4 -7      src/lib/libc/gen/_spinlock_stub.c
  1.5       +7 -7      src/lib/libc/stdio/_flock_stub.c
  1.4       +2 -4      src/lib/libc/sys/__error.c


http://www.dragonflybsd.org/cvsweb/src/lib/libc/gen/_pthread_stubs.c.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libc/gen/_spinlock_stub.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libc/stdio/_flock_stub.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libc/sys/__error.c.diff?r1=1.3&r2=1.4&f=u





More information about the Commits mailing list