Re: entries in PT_DYNAMIC section refer to the correct address at runtime?

2017-09-15 Thread Alan Modra
On Fri, Sep 15, 2017 at 02:57:36PM +0800, Yubin Ruan wrote: > 2017-09-14 18:25 GMT+08:00 Alan Modra : > > DT_ entries that specify addresses will need to be offset by the base > > address. > > Will base address be automatically adjusted by the dynamic linker if > it tries to loaded it at a differe

[COMMITTED] Internationalized messages should not contain the '\v' escape sequence.

2017-09-15 Thread Mark Wielaard
Replace horizontal tab '\v' with double line feed '\n\n' in doc strings. Regenerate .po files. Signed-off-by: Mark Wielaard --- po/ChangeLog | 4 + po/de.po | 754 po/es.po | 760 ---

[PATCH] ar: Check whether ar header values fit.

2017-09-15 Thread Mark Wielaard
When compiling with -O3 gcc finds an interesting error: src/ar.c: In function ‘do_oper_insert’: src/ar.c:1077:56: error: ‘%-*ld’ directive output may be truncated writing between 6 and 10 bytes into a region of size 7 [-Werror=format-truncation=] snprintf (tmpbuf, sizeof (tmpbuf), ofmt ? "%-*l