Date: Wed, 6 Aug 2014 10:04:25 -0600 From: Warner Losh <imp@bsdimp.com> To: Hans Petter Selasky <hps@selasky.org> Cc: freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: Loading modules with KB920X panics Message-ID: <86AAC393-76E8-4F5B-B07A-1A648572E552@bsdimp.com> In-Reply-To: <53E1E122.9040304@selasky.org> References: <53E1E122.9040304@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_608468C5-1EEA-4881-8388-C38FB4387C68 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Aug 6, 2014, at 2:02 AM, Hans Petter Selasky <hps@selasky.org> wrote: > Hi, >=20 > I'm building a custom module for KB920X and it panics when loading = because structures like Elf32_Rel and Elf32_Rela are not aligned. >=20 > I added __packed keyword and the errors seems to be going away. >=20 > Any clues what is wrong? I=92m sure this used to work. Any notion of when it might have broken? Warner --Apple-Mail=_608468C5-1EEA-4881-8388-C38FB4387C68 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJT4lIJAAoJEGwc0Sh9sBEAR40QAObAyQjTqslrGvBCWrUUrEPn QlhtG8sovR4m+JqkHcrGTls087hnAtOB27+RD/fWF19wq/zPBjaW6QLzWv/h0ljd Hsq2uklne1rKoyRoctMV5ptarifcPS3hjdDhlEr/IXDHifPVYorGdWURgyYWxS2w eBrM9C/Q1Xn2iNmpvIRHYGLlK9RKijFOU48Xz7Dg+8M/LL6z3Qa9zlIZxC4BNkGF U9ULyI8oq6tvPQGxYI/BARdlNNzW0HakKPPEKWJAP5nm6S3ySAY+JaU55s1MzSh9 5MnEPAJjkxzATyiDGuqUn9SLUdEy5ZpAr3FfhkkJIC/3YSIYvxAcN2IJhTr5Mic5 b+Z9YNxhXEQ5LCK6HPat0TKjhjjaAu19r9OAv5qizxXTf4ktVofB49K79uqjyWA4 ChV1hZWTd/VkFm8yxK4Pril14mYh9lOBSXMY3kILELGTZ528SYXhRRzkdrB1JiaB dVf6Y3qSKlfFMHp6DaclxT/6+mQj4LPiwo/ZDC7uVno1SAKCKADzt0kb4BauCxtB nNFZ/MlOART28gOwT1X0lQ/RNHBaODmnOkI/nxBKuPXNmJtvLUhZaZOmLRZxRX/t W9BGG3yTe2xF/FLCoFXapFzfUwJnRfOpPOt1w4gKEmv5IsqFgk62V8DhcaAMN2E/ bRzGPEJF5bHuew1cr6sn =9qCa -----END PGP SIGNATURE----- --Apple-Mail=_608468C5-1EEA-4881-8388-C38FB4387C68--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86AAC393-76E8-4F5B-B07A-1A648572E552>