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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 8c66ff2 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
RevLine 
[3c9b86e]1Submitted By: Joe Ciccone <jciccone@linuxfromscratch.org>
2Date: 2006-06-11
3Initial Package Version: 1.21
4Upstream Status: Unknown
5Origin: Joe Ciccone
6Description: Fixes relocation errors when linking.
7
8diff -Naur colo-1.21.orig/stage1/include/lib.h colo-1.21/stage1/include/lib.h
9--- colo-1.21.orig/stage1/include/lib.h 2006-01-17 18:03:58.000000000 -0500
10+++ colo-1.21/stage1/include/lib.h 2006-07-11 01:01:29.000000000 -0400
11@@ -47,8 +47,8 @@
12
13 /* fast.c */
14
15-extern void * __attribute__((section(".data"))) _memcpy_w(void *, const void *, size_t);
16-extern void * __attribute__((section(".data"))) _memset_w(void *, int, size_t);
17+extern void * _memcpy_w(void *, const void *, size_t);
18+extern void * _memset_w(void *, int, size_t);
19
20 #endif
21
Note: See TracBrowser for help on using the repository browser.