On 2015-06-09, at 6:20 PM, Helge Deller wrote: > (gdb) p *shdr > $3 = {sh_name = 133, sh_type = 8, sh_flags = 7, sh_addr = 113608, sh_offset = > 352, sh_size = 1108, sh_link = 0, sh_info = 0, sh_addralign = 4, sh_entsize = > 8} > (gdb) p *shdr > $1 = {sh_name = 249, sh_type = 1, sh_flags = 7, sh_addr = 113608, sh_offset = > 48072, sh_size = 1108, sh_link = 0, sh_info = 0, sh_addralign = 4, sh_entsize > = 8} > > sh_type seems to be: > #define SHT_NOBITS 8 /* Program space with no data (bss) */ > #define SHT_PROGBITS 1 /* Program data */ > > So, the problem is, that sh_addr (=113608) is not a multiple of sh_entsize > (=8) in both cases. > The segments are correctly aligned though (sh_addralign = 4).
It's sh_size which isn't a multiple of 8. This appears to be .plt based on sh_addr. Possibly, there's a bug in binutils ld linker script. Dave -- John David Anglin dave.ang...@bell.net -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org