This is the mail archive of the gas2@sourceware.cygnus.com mailing list for the gas2 project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
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