[PATCH] Make sure the .dynamic section is the first section in the PTDYNAMIC segment (was Re: [PATCH] Explicitly get .dynamic section for "readelf -d")

Nick Clifton nickc@redhat.com
Fri Jul 9 16:01:00 GMT 2004


Hi Jie,

> Later, I find the best place to add this check is 
> assign_file_positions_for_segments (). Here is the small patch. However,
> I'm not sure that we should give a warn or error if the check fails. 
> This patch just gives an error.

Thanks  - sorry for not replying sooner - I was swamped with other 
stuff.  Anyway I have approved and applied your patch now.

Cheers
   Nick

bfd/ChangeLog
2004-07-09  Jie Zhang  <zhangjie@magima.com.cn>

	* elf.c (assign_file_positions_for_segments): Make sure the
	.dynamic section is the first section in the PT_DYNAMIC segment.



More information about the Binutils mailing list