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]
Other format: [Raw text]

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


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.


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