source: patches/colo-1.21-relocation_fix-1.patch@ 0058597

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 0058597 was 3c9b86e, checked in by Jim Gifford <clfs@…>, 18 years ago

Added colo-1.21-relocation_fix-1.patch

  • Property mode set to 100644
File size: 749 bytes
  • stage1/include/lib.h

    Submitted By: Joe Ciccone <jciccone@linuxfromscratch.org>
    Date: 2006-06-11
    Initial Package Version: 1.21
    Upstream Status: Unknown
    Origin: Joe Ciccone
    Description: Fixes relocation errors when linking.
    
    diff -Naur colo-1.21.orig/stage1/include/lib.h colo-1.21/stage1/include/lib.h
    old new  
    4747
    4848/* fast.c */
    4949
    50 extern void * __attribute__((section(".data"))) _memcpy_w(void *, const void *, size_t);
    51 extern void * __attribute__((section(".data"))) _memset_w(void *, int, size_t);
     50extern void * _memcpy_w(void *, const void *, size_t);
     51extern void * _memset_w(void *, int, size_t);
    5252
    5353#endif
    5454
Note: See TracBrowser for help on using the repository browser.