Although the linker script looks ok, the resulting binary isn't executable on
x86_64. Without defining the program headers in the linker script the
executable is working fine.
PHDRS
{
text PT_LOAD FILEHDR PHDRS FLAGS(5);
interp PT_INTERP;
dynamic PT_DYNAMIC FLAGS(4);
data PT_LOAD;
bss PT
--- Additional Comments From nickc at redhat dot com 2008-03-28 07:26
---
Subject: Re: New: running out of file descriptors when linking
>1024 files
Hi Chris,
> When trying to link a binary which takes a large number of files, I get many
> errors like this:
>
> ld-new: cannot open .
Hi Chris,
When trying to link a binary which takes a large number of files, I get many
errors like this:
ld-new: cannot open ../driver/ic/via/sinai/mlxhh/obj/1/mcgm.o: Too many open
files
This is coming from Read_symbols::do_read_symbols.
I can obviously work around the problem by increasing