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: "Create a bfd at linking time"


Hi

DJ Delorie wrote:

>>   I need to create a bfd at linking time and this bfd conatins several
>> of its own sections (also created on-the-fly). This is what I did:
> 
> 
> Look in ld/pe-dll.c near the bottom.  I do this for dlls.

   Yes, I did exactly the same as outlined in function
	
	build_filler_bfd()

   However, I did not figure out how to set the two `link_order_header'
and 'link_order_tail fields' for a newly created section.

Thanks

--Xinan 



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