[Bug ld/5652] New: genscripts.sh fails with BASH_LINENO

2008-01-21 Thread vincent dot riviere at freesbee dot fr
When compiling the binutils on some systems, the ld link fails. The reason is that the generated emulation C file is empty. By looking at the make output, we can see .../genscripts.sh: line 403: ${BASH_LINENO[0]} + 1: bad substitution However, no error is detected, and the build process of ld

[Bug ld/5652] genscripts.sh fails with BASH_LINENO

2008-01-21 Thread vincent dot riviere at freesbee dot fr
--- Additional Comments From vincent dot riviere at freesbee dot fr 2008-01-21 18:39 --- Created an attachment (id=2208) -- (http://sourceware.org/bugzilla/attachment.cgi?id=2208action=view) genscripts fix This patch fixes the bug. The availability of the BASH_LINENO variable is now