|
From: | cvs-commit at gcc dot gnu.org |
Subject: | [Bug ld/24576] Feature request: error out when passed the same linker script with -T and as an object file |
Date: | Wed, 22 May 2019 15:00:14 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=24576 --- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Nick Clifton <address@hidden>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6ec6968b1b259948ba42f0a47a3da048377058bc commit 6ec6968b1b259948ba42f0a47a3da048377058bc Author: Nick Clifton <address@hidden> Date: Wed May 22 15:58:57 2019 +0100 Have the linker report an error if the same script is used twice. PR 24576 * ld/ldfile.c: (ldfile_open_command_file_1): Add new parameter - is_script. If true check that the file has not already been parsed as a linker script. (ldfile_open_script_file): New function. (ldfile_try_open_bfd): Use the new function in place of ldfile_open_command_line. * ldmain.c (main): Likewise. * lexsup.c (parse_args): Use the new function for opening linker scripts with the -T option. * ldfile.h (ldfile_open_script_file): Add prototype. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |