public inbox for gas2@sourceware.org
 help / color / mirror / Atom feed
* Does the ELF gas support stabs like a.out does?
@ 1994-11-23 18:41 H.J. Lu
  1994-11-27 16:42 ` Ian Lance Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: H.J. Lu @ 1994-11-23 18:41 UTC (permalink / raw)
  To: gas2; +Cc: Ken Raeburn, Ian Lance Taylor, Eric Youngdale

Hi,

It seems the ELF gas doesn't support stabs like the a.out version
does. That piece code is used to put __init_misc () on the
__libc_subinit list. It doesn't work with the ELF gas.

Is there aother way to create a list using the ELF gas without
create a new subsection?

Thanks.


-- 
H.J. Lu
NYNEX Science and Technology, Inc.			hjl@nynexst.com
----
# gcc-aout -c foo.s
# nm foo.o
00000000 T __init_misc
00000000 - 00 0000   (4) __libc_subinit
# gcc-elf -c foo.s
# nm foo.o
00000000 T __init_misc
-----foo.s----
        .text
        .align 4
        .globl __init_misc
__init_misc:
        ret
        .stabs "__libc_subinit",23,0,0,__init_misc


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1994-11-27 16:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1994-11-23 18:41 Does the ELF gas support stabs like a.out does? H.J. Lu
1994-11-27 16:42 ` Ian Lance Taylor

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).