This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Build regression with --enable-targets=all [Re: [committed] TILE-Gx/TILEPro: fix got relocations for merged .got/.got.plt]
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Walter Lee <walt at tilera dot com>
- Cc: binutils at sourceware dot org
- Date: Mon, 17 Sep 2012 15:21:38 +0200
- Subject: Build regression with --enable-targets=all [Re: [committed] TILE-Gx/TILEPro: fix got relocations for merged .got/.got.plt]
- References: <201209171057.q8HAv3ZX031712@farm-0038.internal.tilera.com>
On Mon, 17 Sep 2012 12:57:03 +0200, Walter Lee wrote:
> * elf32-tilepro.c (tilepro_elf_relocate_section): Fix computation
> of got relocations for when .got.plt section is merged with .got.
> * elfxx-tilegx.c (tilegx_elf_relocate_section): Ditto.
gcc-4.7.1-5.fc18.x86_64
elf32-tilepro.c: In function ‘tilepro_elf_relocate_section’:
elf32-tilepro.c:2788:11: error: variable ‘got_base’ set but not used [-Werror=unused-but-set-variable]
elfxx-tilegx.c: In function ‘tilegx_elf_relocate_section’:
elfxx-tilegx.c:3097:11: error: variable ‘got_base’ set but not used [-Werror=unused-but-set-variable]
Thanks for a fix,
Jan