Re: BBB u-boot

2017-09-25 Thread Christian Mauderer
Am 25.09.2017 um 01:26 schrieb Chris Johns: > On 24/09/2017 18:21, Christian Mauderer wrote: >> Am 24.09.2017 um 06:40 schrieb Chris Johns: >>> On 24/9/17 12:33 am, Christian Mauderer wrote: Am 23.09.2017 um 16:17 schrieb Christian Mauderer: > Am 22.09.2017 um 08:28 schrieb Chris

x86 TLS when PIC is enabled

2017-09-25 Thread Joel Sherrill
HI I am working on RTEMS on an i386 paravirtualized environment which requires PIC. This means the TLS method is not %gs but instead a function call which appears to be this per https://www.akkadia.org/drepper/tls.pdf typedef struct { unsigned long ti_module; unsigned long ti_offset; } tls_in

Re: x86 TLS when PIC is enabled

2017-09-25 Thread Sebastian Huber
Hello Joel, you may have a look at the FreeBSD: https://svnweb.freebsd.org/base/head/libexec/rtld-elf/i386/reloc.c?view=markup I would simply start to implement it in the most obvious way and then run the sptls* tests. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-821

Re: RTEMS and Google Code-In

2017-09-25 Thread Sebastian Huber
I think a big usability bonus for RTEMS would be a better BSP documentation: https://devel.rtems.org/ticket/2854 The wiki is a bad place for this. It needs to be version controlled. One option is to move all the READMEs and wiki stuff into the CPU Supplement. -- Sebastian Huber, embedded brai