This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos 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: fix for arm target.ld


On Tue, 2002-08-27 at 17:36, Mark Salter wrote:
> >>>>> Andrew Lunn writes:
> 
> >> We could probably use some preprocessor gymnastics to avoid the
> >> problem. OTOH, anything wrong with Andrew's approach?
> 
> > Robins approach, not mine.
> 
> Yup. Sorry about that.
> 
> > I was just trying to avoid doing something different on ARM than all
> > other processors.
> 
> Yes, it looks like other intrinsic defines are used in arm.ld, so
> how about something more surgical:
> 
> *** arm.ld.~1.49.~	Thu Aug 22 08:47:38 2002
> --- arm.ld	Tue Aug 27 11:35:21 2002
> ***************
> *** 77,82 ****
> --- 77,83 ----
>   #define LMA_EQ_VMA
>   #define FORCE_OUTPUT . = .
>   
> + #undef arm
>   #define SECTIONS_BEGIN                          \
>     /* Debug information */                       \
>     .debug_aranges  0 : { *(.debug_aranges) }     \
> 

No problem, the surgical way works also fine for me.



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