Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103025480
D14018.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
547 B
Referenced Files
None
Subscribers
None
D14018.diff
View Options
Index: head/sys/mips/mips/machdep.c
===================================================================
--- head/sys/mips/mips/machdep.c
+++ head/sys/mips/mips/machdep.c
@@ -383,7 +383,11 @@
void
mips_postboot_fixup(void)
{
- static char fake_preload[256];
+ /*
+ * We store u_long sized objects into the reload area, so the array
+ * must be so aligned. The standard allows any alignment for char data.
+ */
+ static char fake_preload[256] _Alignas(_Alignof(u_long));
caddr_t preload_ptr = (caddr_t)&fake_preload[0];
size_t size = 0;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 20, 11:37 PM (22 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14749854
Default Alt Text
D14018.diff (547 B)
Attached To
Mode
D14018: Make mips_postboot_fixup work when building the kernel with clang+lld
Attached
Detach File
Event Timeline
Log In to Comment