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: Symbian OS handling of R_ARM_RELATIVE


On Thu, 2004-11-04 at 19:12, Mark Mitchell wrote:
> Symbian OS can relocate the data segement and text segment sparately.
> So, when generating an R_ARM_RELATIVE relocation we must say to which
> segment the relocation is relative.  The BPABI lets us pick any symbol
> in the segement to use for that purpose.
> 
> OK?
> 
> --
> Mark Mitchell
> CodeSourcery, LLC
> mark@codesourcery.com
> 
> 2004-11-04  Mark Mitchell  <mark@codesourcery.com>
> 
> 	* elf32-arm.c (elf32_arm_final_link_relocate): When generating an
> 	R_ARM_RELATIVE relocation for Symbian OS, mention the section
> 	symbol in the relocation.
> 

OK, but can you correct the comment...



> ! 		/* On Symbian OS, the data segment and text segement
> ! 		   can be relocated independently.  Therefore, we must
> ! 		   indicate the segment to which this relocation is
> ! 		   relative.  The BPABI allows us to use any symbol in
> ! 		   the right segment; we just the section symbol as it
                                              ^^^^^^^^^^^^^^^
> ! 		   is convenient.  (We cannot use the symbol given by
> ! 		   "h" directly as it will not appear in the dynamic
> ! 		   symbol table.)  */


R.


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