> > > > @@ -101,6 +101,7 @@ ASENTRY_NP(start)
> > > > .align 2
> > > >
> > > > .bss
> > > > + .align 3
> > > > svcstk:
> > > > .space INIT_ARM_STACK_SIZE
> > > >
> > > > @@ -179,6 +180,7 @@ ENTRY(longjmp)
> > > > mov pc, lr
> > > >
> > > > .data
> > > > + .align 2
> > > > .global _C_LABEL(esym)
> > > > _C_LABEL(esym):.word _C_LABEL(end)
> > > >
> > > >
> > > >
--
Brandon Bergren
Technical Generalist
ading through the code)
Also yeah, regarding the esym one, I hadn't been running into that one anymore
because I had apparently moved it to locore0.S in my local and then forgot I
had done that. Whoops!
On Tue, Feb 27, 2018, at 3:47 PM, Brandon Bergren wrote:
>
>
> On Tue, Feb 2
On Tue, Feb 27, 2018, at 3:40 PM, Mark Kettenis wrote:
> > Date: Tue, 27 Feb 2018 22:30:43 +0100 (CET)
> > From: Mark Kettenis
> >
> > > From: Brandon Bergren
> > > Date: Tue, 27 Feb 2018 15:05:43 -0600
> > >
> > > Oh geez, I j
revision 1.52
> > > diff -u -p -r1.52 cpufunc.c
> > > --- arch/arm/arm/cpufunc.c8 Sep 2017 05:36:51 - 1.52
> > > +++ arch/arm/arm/cpufunc.c22 Feb 2018 21:42:35 -
> > > @@ -395,7 +395,6 @@ armv7_setup()
> > > | CPU_C
no-unaligned-access clang generates code that doesn't
> work with the SCTLR.A set to 1. The particular case I encountered was
> a floating-point or vector instruction that needs 8-byte alignment
> where the operand was only 4-byte aligned. That's a bug in clang/llvm
> of course, but since both Linux and Darwin set SCTRL.A to 0 such bugs
> are simply not caught.
>
> Cheers,
>
> Mark
>
--
Brandon Bergren
Technical Generalist
it happens on, and never
happens to the other kernel images.
On Thu, Feb 22, 2018, at 4:52 PM, Brandon Bergren wrote:
> FWIW I've been chasing a failure on beaglebone black where a random
> subset of relinked kernels fail to get as far as console init and am
> pretty flummoxed ab
> cpuctrl = CPU_CONTROL_MMU_ENABLE
> - | CPU_CONTROL_AFLT_ENABLE
> | CPU_CONTROL_DC_ENABLE
> | CPU_CONTROL_BPRD_ENABLE
> | CPU_CONTROL_IC_ENABLE
>
--
Brandon Bergren
Technical Generalist
On Fri, Feb 9, 2018, at 3:46 PM, Theo de Raadt wrote:
> > On Thu, Feb 8, 2018, at 9:01 PM, Theo de Raadt wrote:
> > > CVSROOT: /cvs
> > > Module name: src
> > > Changes by: dera...@cvs.openbsd.org 2018/02/08 20:01:24
> > >
> > > Modified files:
> > > sys/dev: rnd.c
> > >
On Thu, Feb 8, 2018, at 9:01 PM, Theo de Raadt wrote:
> CVSROOT: /cvs
> Module name: src
> Changes by: dera...@cvs.openbsd.org 2018/02/08 20:01:24
>
> Modified files:
> sys/dev: rnd.c
>
> Log message:
> Situation occur where bootloader cannot supply kernel with early
> ra