This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] Reserve a few .dynamic entries (take 2)


On Tue, Jul 03, 2001 at 04:29:50PM -0700, H . J . Lu wrote:
> Hi Jakub,
> 
> I don't think this patch is correct. It creates dynamic entries even
> for static binaries. First, they are not necessary for static binaries.
> Secondly,
> 
> # gcc -static foo.c
> 
> dumps core for Linux/mips. I think you should pad .dynamic when you
> create it.
> 
> 
> H.J.
> ----
> 2001-06-08  Jakub Jelinek  <jakub@redhat.com>
> 
> 	* scripttempl/elf.sc (DYNAMIC_PAD): New variable.
> 	(DYNAMIC): Use it to reserve few dynamic entries for post-linking
> 	tools.
> 

Can we add another switch to the ELF linker like

	--reserve-dynamic N


H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]