This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Haven't really had time to answer earlier...
Toralf Lund wrote:
Kai Ruottu wrote:
Toralf Lund wrote:
With recent versions of gcc, apparently __EH_FRAME_BEGIN__ has to be defined in the linker script. What is it, and how am I supposed to initialise it.
Please use the premade linker scripts coming with newlib as models...
I checked those before I asked, obviously, but it's far from clear based on these what it all means, or where I ought to put the setup. The different linker scripts don't even put "eh frame" stuff in the same output section...
You must use ELF now because this __EH_FRAME_BEGIN__ neither the '.eh_frame'
section are not used with the COFF format at all...
If you however are using 'm68k-coff', how on earth you can get these?
In which modules this section is included? What if you try :
objdump -h <the_modules> | grep eh_frame
for your startup (crt0.o), the C library (libc.a), the C++ library (libstdc++.a), your own compiled modules etc., do some of them have this extra section?
A quick check in my 'lib*.a' for 'm68k-coff' tools didn't show any instances
of this section meanwhile starting from the very base 'crtbegin.o/crtend.o'
(not used with the 'm68k-coff' format) startups, the '.eh_frame' section seems
to be present everywhere with the 'm68k-elf' format.
F:\usr\local\lib\gcc-lib\m68k-elf\3_1.1>m68k-elf-objdump -h crtbegin.o
However there maybe once was a serious bug in the GCC's 'm68k-coff' target
configuration files and this section erroneously being added...
It is always recommended to have the GNU manuals and to search from them. In
this 'EH_FRAME' keyword search case the "GCC Internals" gave :
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |