|
From: | cvs-commit at gcc dot gnu.org |
Subject: | [Bug ld/19175] [Regression] ld assertion fail ../../bfd/elf32-i386.c:5245 |
Date: | Mon, 26 Oct 2015 23:33:48 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19175 --- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by H.J. Lu <address@hidden>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7b7e7f1da28585cfa49cbced50dbbd75a143cd20 commit 7b7e7f1da28585cfa49cbced50dbbd75a143cd20 Author: H.J. Lu <address@hidden> Date: Mon Oct 26 16:32:34 2015 -0700 Check symbol defined by assignment in linker script Symbol symbol defined by an assignment in a linker script has type bfd_link_hash_new. elf_i386_convert_load and elf_x86_64_convert_load should check bfd_link_hash_new to see if a symbol is defined by a linker script. bfd/ PR ld/19175 * elf32-i386.c (elf_i386_convert_load): Check bfd_link_hash_new instead of calling bfd_link_get_defined_symbol. * elf64-x86-64.c (elf_x86_64_convert_load): Likewise. Skip relocation overflow for bfd_link_hash_new. * linker.c (bfd_link_get_defined_symbol): Removed. * bfd-in2.h: Regenerated. ld/testsuite/ PR ld/19175 * ld-i386/i386.exp: Run pr19175. * ld-x86-64/x86-64.exp: Likewise. * ld-i386/pr19175.d: New file. * ld-i386/pr19175.s: Likewise. * ld-i386/pr19175.t: Likewise. * ld-x86-64/pr19175.d: Likewise. * ld-x86-64/pr19175.s: Likewise. * ld-x86-64/pr19175.t: Likewise. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |