RFC: automagic soname generation for ibm TPF-OS

Eric Christopher echristo@redhat.com
Fri Jul 15 01:09:00 GMT 2005


OK, I'm not particularly happy with this hack, but can't think of
another way to do it offhand so I figured I'd post what I've got and see
what people say.

Basically the TPF-OS requires that each executable have an soname of the
first 4 characters, uppercase, of the name of the executable. They've
got other restrictions after that, but that's not something I want to
try to solve today. :)

Basically I took a page out of the irix notebook on this which has
something similar for shared libraries. Irix uses basename () instead of
a custom function, but the right idea is there. The problem comes in the
emulations - I'd prefer not to add a new custom emulation for this.

Any ideas?

Current patch attached.

-eric


-------------- next part --------------
A non-text attachment was scrubbed...
Name: ld.diff
Type: text/x-patch
Size: 4961 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20050715/11d8c0d0/attachment.bin>


More information about the Binutils mailing list