Re: [PATCH] Don't put objects with flexible array members in small data

2019-11-21 Thread Martin Sebor
On 11/21/19 3:59 AM, Richard Sandiford wrote: Sandra Loosemore writes: This patch is for PR target/92499, a bug reported by GLIBC maintainers against nios2 target. The initial failure symptom was a linker error resulting from use of GP-relative addressing on an object that wasn't allocated in

Re: [PATCH] Don't put objects with flexible array members in small data

2019-11-21 Thread Sandra Loosemore
On 11/21/19 3:59 AM, Richard Sandiford wrote: Sandra Loosemore writes: This patch is for PR target/92499, a bug reported by GLIBC maintainers against nios2 target. The initial failure symptom was a linker error resulting from use of GP-relative addressing on an object that wasn't allocated in

Re: [PATCH] Don't put objects with flexible array members in small data

2019-11-21 Thread Richard Sandiford
Sandra Loosemore writes: > This patch is for PR target/92499, a bug reported by GLIBC maintainers > against nios2 target. The initial failure symptom was a linker error > resulting from use of GP-relative addressing on an object that wasn't > allocated in the small data section. It turns out

[PATCH] Don't put objects with flexible array members in small data

2019-11-20 Thread Sandra Loosemore
This patch is for PR target/92499, a bug reported by GLIBC maintainers against nios2 target. The initial failure symptom was a linker error resulting from use of GP-relative addressing on an object that wasn't allocated in the small data section. It turns out that the real problem is that the