Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Feb 2015 22:53:26 +0000
From:      "imp (Warner Losh)" <phabric-noreply@FreeBSD.org>
To:        freebsd-arm@freebsd.org
Subject:   [Differential] [Commented On] D1967: Attempt to make libcxxrt's dwarf_eh work with strict alignment
Message-ID:  <5b93831e00dd3de4df17d8b9dd792b80@localhost.localdomain>
In-Reply-To: <differential-rev-PHID-DREV-2dch6afcj5u7ayk2c67t-req@FreeBSD.org>
References:  <differential-rev-PHID-DREV-2dch6afcj5u7ayk2c67t-req@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
imp added a comment.

It doesn't matter because the code already assumed endianness with its preprocessor __LITTLE_ENDIAN__. The prior code assumed native endinaness as well, since it just did the cast.

memcpy is exactly what you want to replace the old code with.

REVISION DETAIL
  https://reviews.freebsd.org/D1967

To: dim, andrew, bapt, ian, theraven
Cc: imp, emaste, freebsd-arm



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5b93831e00dd3de4df17d8b9dd792b80>