This is the mail archive of the binutils@sourceware.org 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: Create section on linker script


Hi, I'm interested in create sections during the link phase.
These sections will have no data and will have two symbols.
At the moment I have the follow code.


 .foo :
 {
 foo_begin = ORIGIN(.foo);
 foo_end = ORIGIN(.foo) + SIZEOF(.foo);
 }

 This code creates the two symbols, but don't create the section .foo
 My question is there are any way to do this?

 Thanks

 João Pires


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