Project

General

Profile

Actions

Bug #3533

open

machrel.{intel,amd}.c aren't safe with strict alignment

Added by Rich Lowe over 10 years ago. Updated over 5 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
tools - gate/build tools
Start date:
2013-02-06
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

In many places in machrel.intel.c and machrel.amd.c you see LINTED comments, this is to gag possible alignment problem warnings from lint.

As best as I can determine, everyone of these comments is misused, the issues are real and an alignment-safe load/store must be used.

cross-linking x86 from SPARC will otherwise SIGBUS. The (odd) linker UL_* macros should be used (or, probably, the less odd [LB]E_OUT* macros).

No data to display

Actions

Also available in: Atom PDF