This is the mail archive of the ecos-discuss@sourceware.org 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: powerpc.ld question


Will Wagner wrote:
Have had issues with 2.16 & 2.17 of binutils so am now trying to get the HEAD of CVS working.

Just curious - what issues did you have with these previous versions? I run 2.16 and 2.16.1 here (gcc 3.4.3 and 4.1.0 respectively) with no problems.

Does your powerpc.ld file not include a line which looks like this?
  *(.eh_frame)
Perhaps it needs to be written as:
  *(.eh_frame_hdr) *(.eh_frame)

I'm perplexed though; I've never had a need for this.  Maybe it's in
your usage of GCC or how you configured it when building it.


Am using GCC 3.3.3


Gary Thomas wrote:
Will Wagner wrote:
I am trying to upgrade to a new version of binutils as I'm experiencing problems with my current version.

The new version of ld throws an error when trying to link saying that the section .eh_frame_hdr is not specified.

I know I need to add an entry to /hal/powerpc/src/powerpc.ld, but I'm not sure where this needs to go. The only other .ld file I could find that referenced eh_frame_hdr is sh4_202_md.ld but that file is so different I didn't find it very useful.


What version of binutils (and GCC) are you using?





--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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