public inbox for bfd@sourceware.org
 help / color / mirror / Atom feed
* Fwd: BFD for the HP3000
@ 1999-03-30 14:14 Mark Klein
  0 siblings, 0 replies; only message in thread
From: Mark Klein @ 1999-03-30 14:14 UTC (permalink / raw)
  To: bfd

I'm forwarding this to bfd@cygnus.com to get it into the archives.

In a conversation with Ian Lance Taylor, I wrote:

>I have a need to add certain file attributes to various types of files at
>create time and don't see any "supported" way to do that through BFD.
>For example, relocatable object files contain an attribute that identify
>them as such to the system; archive libraries contain another; and runnable
>programs a third. This is over and above the information contained in the
>SOM header (and really is an attribute kept in the file system directory,
>not in the file itself). However, this must be attached at file create time.
>
>I don't see any means within bfd_openw() or bfd_open_file() that allows me
>to call open() or fopen() and specify machine dependent items. Is there a
>supported way to do so? If not, is it worthwhile to change the machine
>independent code to do something like:
>
>#define FOPEN(filename, flags) (PTR) fopen((filename),(flags))
>
>bfd_open_file (abfd) {
>...
>abfd->iostream = FOPEN (abfd->filename, FOPEN_RB);
>...
>}
>
>and allow the FOPEN define to be overridden in a machine dependent way
>for those that require it?
>
>Is this a subject for the egcs list, or is there another list for binutils
>and other infrastructure?
>
>Regards,
>
>
>M.
>
> 

--
Mark Klein                                 DIS International, Ltd.
http://www.dis.com                         415-892-8400
PGP Public Key Available			

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-03-30 14:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-30 14:14 Fwd: BFD for the HP3000 Mark Klein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).