FreeBSD Bugzilla – Attachment 157884 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
weak.diff (text/plain), 1008 bytes, created by
Hans Petter Selasky
on 2015-06-19 14:37:35 UTC
(
hide
)
Description:
Kernel header file patch
Filename:
MIME Type:
Creator:
Hans Petter Selasky
Created:
2015-06-19 14:37:35 UTC
Size:
1008 bytes
patch
obsolete
>Index: cdefs.h >=================================================================== >--- cdefs.h (revision 284591) >+++ 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 >Index: linker_set.h >=================================================================== >--- linker_set.h (revision 284591) >+++ 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))
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