This is the mail archive of the ecos-patches@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]

OS X Synthetic port (partial, incomplete and unlikely to ever work)


Greetings,

I finally got the FSF copyright assignment form and have returned it
to them again. So I figured it was about time to post the aborted OS X
Synthetic port. Just in case someone can make use of it (or parts).

I aborted the port simply because I could not get constructors to run.
OS X comes with its own tools and a special file format, and it
appears that GCC has just adopted this (for obvious reasons).

So the linker and loader is unlike what I know from Linux. In short,
the breakage is due to the linker apparently not loading constructor
sections. Probably because these are intended to be executed as part
of the loading. Unfortunately, I never figured out how to trigger
this. And I got fed up with the challenge. So, abort.

The current state of the patches are pre-V3. Can't be bothered to
upgrade my tree and make the header changes.

All tests build and link in the default configuration. But only tests
that do not make use of constructor sections work (such as the two HAL
tests).

Cheers,
Jesper

Attachment: new-arch.diff
Description: Binary data

Attachment: synth-arch-hacks.diff
Description: Binary data

Attachment: top-level-package.diff
Description: Binary data


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