From mboxrd@z Thu Jan 1 00:00:00 1970 From: hjl@nynexst.com (H.J. Lu) To: gas2@cygnus.com Cc: raeburn@cygnus.com (Ken Raeburn), ian@cygnus.com (Ian Lance Taylor), eric@aib.com (Eric Youngdale) Subject: Does the ELF gas support stabs like a.out does? Date: Wed, 23 Nov 1994 18:41:00 -0000 Message-id: <9411240240.AA20822@titanic.nynexst.com> X-SW-Source: 1994/msg00203.html 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