This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


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

Link sections used by C++ compiler (2.8.1)


Hi all,

since I have used the C++ portion of the GNU compiler (Version 2.8.1,
cross compiler for m68k-coff) I noticed that there are additional "standard"
sections defined by the copiler's core libraries (libgcc.a), namely:
.eh_fram
.stab
.stabstr

By playing around with my linker script I found out that .eh_fram needs
to go somewhere into ROM. Placing this section anywhere else just crashes
the target (a small 68332 single board computer). Anyone out there who
knows what kind of stuff is stored in these sections? Is it ok to place
them just into the same area as the .text section (this works for now
but I'm not sure if that is the correct reliable way)? Or is that some
sort of initialized data that needs to go to the .data section?

Best regards,
Juergen
-------------------------------------------------------------------------
J. Suessmaier Systementwicklungen
Juergen Suessmaier
juergen@jss01.ntakpe.com                    Realtime Software Development
Katharina Geisler Str. 14                       Embedded Applications
D-85356 Freising                                     Automation
Germany
-------------------------------------------------------------------------
Phone: +49 8161 871680     Fax: +49 8161 82446       Data: +49 8161 82446
-------------------------------------------------------------------------
               http://www.kiosk-online.de/~fsjusu01
-------------------------------------------------------------------------
________________________________________________
To get help for the crossgcc list, send mail to
crossgcc-request@cygnus.com with the text 'help'
(without the quotes) in the body of the message.