FreeBSD Bugzilla – Attachment 157926 Details for
Bug 200972
[exp-run] [patch] Rename __weak to __weak_symbol
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Kernel header file patch
cdefs.diff (text/plain), 1.03 KB, created by
Hans Petter Selasky
on 2015-06-21 13:22:35 UTC
(
hide
)
Description:
Kernel header file patch
Filename:
MIME Type:
Creator:
Hans Petter Selasky
Created:
2015-06-21 13:22:35 UTC
Size:
1.03 KB
patch
obsolete
>Index: sys/sys/linker_set.h >=================================================================== >--- sys/sys/linker_set.h (revision 284591) >+++ sys/sys/linker_set.h (working copy) >@@ -80,8 +80,8 @@ > * Initialize before referring to a given linker set. > */ > #define SET_DECLARE(set, ptype) \ >- extern ptype __weak *__CONCAT(__start_set_,set); \ >- extern ptype __weak *__CONCAT(__stop_set_,set) >+ extern ptype __weak_symbol *__CONCAT(__start_set_,set); \ >+ extern ptype __weak_symbol *__CONCAT(__stop_set_,set) > > #define SET_BEGIN(set) \ > (&__CONCAT(__start_set_,set)) >Index: sys/sys/cdefs.h >=================================================================== >--- sys/sys/cdefs.h (revision 284591) >+++ sys/sys/cdefs.h (working copy) >@@ -213,9 +213,9 @@ > #define __packed > #define __aligned(x) > #define __section(x) >-#define __weak >+#define __weak_symbol > #else >-#define __weak __attribute__((__weak__)) >+#define __weak_symbol __attribute__((__weak__)) > #if !__GNUC_PREREQ__(2, 5) && !defined(__INTEL_COMPILER) > #define __dead2 > #define __pure2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 200972
:
157884
| 157926