ld relocation warning

I'm using Studio 11 on Solaris 10 (sparc) and have come accross a linker warning.

ztty.o is C code, compiled like this

[code]/opt/SUNWspro/bin/cc -Xt -KPIC -g -DSunOS -DZERROR_H -I/vobs/zplus/src/include/zcl -I/usr/dt/include -I/usr/openwin/include -c -o obj/SunOS/ztty.o ztty.c[/code]

When I try to link some executables against both libzgb.a and a shared lib from another product (built on the same OS and compiler rev), I get this warning (the executable links successfully in spite of the warning)

[code]file /export/views/rdx1030/rdx1030_view/vobs/zplus/src/localObj/SunOS/lib/libzgb.a(z tty.o): symbol fp:

external symbolic relocation against non-allocatable section .debug_info;

cannot be processed at runtime: relocation ignored[/code]

ztty.c doesn't include any headers from the .so. But nm shows that there is a symbol fp defined in the .so

[code][59124] |7475516|4|OBJT |GLOB |0|21|fp[/code]

So I'm guessing that name clash is part of the problem. Is there a simple compiler/linker flag I can turn on to resolve this?

[code]$ which cc

/opt/SUNWspro/bin/cc

$ cc -V

cc: Sun C 5.8 Patch 121015-02 2006/03/29

usage: cc [ options] files. Use 'cc -flags' for details

$ which CC

/opt/SUNWspro/bin/CC

$ CC -V

CC: Sun C++ 5.8 Patch 121017-02 2006/04/19

$ which ld

/usr/ccs/bin/ld

$ ld -V

ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.482

$ uname -a

SunOS mach.lgc.com 5.10 Generic_118833-17 sun4u sparc SUNW,Ultra-80[/code]

[1601 byte] By [jgeorgesona] at [2007-11-26 12:19:17]
# 1
> When I try to link some executables against both libzgb.a and a shared lib from another product ...Please provide command line that you use for the above step.
MaximKartasheva at 2007-7-7 15:07:26 > top of Java-index,Archived Forums,Socket Programming...
# 2

/opt/SUNWspro/bin/CC -g -Qoption ld -t -DRWDEBUG -DRW_COMPILE_INSTANTIATE -instances=global -template=wholeclass -g -DSunOS -DZERROR_H -DSYSFILE=\"TRENDFORM.SYS\" -DUIFILE=\"trendform.ui\" -DCUSTOM_EXEC=\"\" -DMRE_USING_UI -DCALL_ -U_NO_PROTO -I/view/zplus_r5000_sun/vobs/zplus/src/include/mre -I/view/zplus_r5000_sun/vobs/zplus/src/include/zcl -I/view/zplus_r5000_sun/vobs/zplus/src/include/ZRDgrid -I/view/zplus_r5000_sun/vobs/devkit/OpenWorks/include -I/usr/dt/include -I/usr/openwin/include -I/view/zplus_r5000_sun/vobs/devkit/Shared/include -I/view/zplus_r5000_sun/vobs/devkit/SeisWorks/include -I/view/zplus_r5000_sun/vobs/LGC_thirdParty/rogue -Bstatic -z muldefs -L/view/zplus_r5000_sun/vobs/zplus/src/localObj/SunOS/patch -L/view/zplus_r5000_sun/vobs/zplus/src/localObj/SunOS/lib -L/view/zplus_r5000_sun/vobs/devkit/OpenWorks/SunOS/lib -L/view/zplus_r5000_sun/vobs/devkit/LicAppMgr/SunOS/lib -L/opt/SUNWspro/lib -L/opt/SUNWspro/lib -L/usr/openwin/lib -L/usr/dt/lib -L/view/zplus_r5000_sun/vobs/LGC_thirdParty/oracle/SunOS/lib -o obj/SunOS/trendform obj/SunOS/steveDum.o obj/SunOS/MREuserStart.o obj/SunOS/MREexecUserSub.o /view/zplus_r5000_sun/vobs/zplus/src/localObj/SunOS/lib/gqdum.o /view/zplus_r5000_sun/vobs/zplus/src/localObj/SunOS/lib/versa_dummy.o /view/zplus_r5000_sun/vobs/zplus/src/localObj/SunOS/lib/versa_21_dummy.o /view/zplus_r5000_sun/vobs/zplus/src/localObj/SunOS/lib/zgtdum.o /view/zplus_r5000_sun/vobs/zplus/src/localObj/SunOS/lib/hcbs_dummy.o /view/zplus_r5000_sun/vobs/zplus/src/localObj/SunOS/lib/svdum.o /view/zplus_r5000_sun/vobs/zplus/src/localObj/SunOS/lib/xglib.o /view/zplus_r5000_sun/vobs/zplus/src/localObj/SunOS/lib/xvlib.o /view/zplus_r5000_sun/vobs/zplus/src/localObj/SunOS/lib/mudum.o /view/zplus_r5000_sun/vobs/zplus/src/localObj/SunOS/lib/MREmain_ui_pd.o /view/zplus_r5000_sun/vobs/zplus/src/localObj/SunOS/lib/MREuserUIstart.o /view/zplus_r5000_sun/vobs/zplus/src/localObj/SunOS/lib/MREsendPDinfo.o /view/zplus_r5000_sun/vobs/zplus/src/localObj/SunOS/lib/MREexecuteProcess.o /view/zplus_r5000_sun/vobs/zplus/src/localObj/SunOS/lib/UIobjects.o /view/zplus_r5000_sun/vobs/zplus/src/localObj/SunOS/lib/dalDummy.o /view/zplus_r5000_sun/vobs/zplus/src/localObj/SunOS/lib/zStoreColor.o -ltrendform -lZRDgrid -lmreUI -lmre -lgglue -lzcl -lsil -leml -ldraw -lsil -lzims -lzigs -lcntr -lbmap -lutil -loper -lgrid -lcntr -lxfer -loper -lzigs -lzgb -lzigs -lzmap -lbmap -lzirh -lutil -lzims -lzirh -lutil -luut -lsil -lzigs -Bdynamic -lowdevkit -lLGCbase -lBMcarto -Bstatic /view/zplus_r5000_sun/vobs/devkit/LicAppMgr/SunOS/lib/libLGC_CommonLicensing.a -Bdynamic -lclntsh -Bdynamic -lMrm -lXm -lXmu -lXt -lX11 -Bdynamic -lf77compat -lsunmath -lfsu -lfui -z muldefs

ld: warning: relocation error: R_SPARC_UA32: file /view/zplus_r5000_sun/vobs/zplus/src/localObj/SunOS/lib/libzgb.a(ztty.o): symbol fp:

external symbolic relocation against non-allocatable section .debug_info;

cannot be processed at runtime: relocation ignored

jgeorgesona at 2007-7-7 15:07:26 > top of Java-index,Archived Forums,Socket Programming...
# 3

Make sure you have the latest linker patches

and the latest Sun Studio 11 compiler patches.

There is a relocation that is trying to put an address into .debug_info

(into the debug information) but the symbol for that address can't

be resolved at link time.

If you can show the elfdump and dwarfdump of the ztty.o file we could see

exactly which relocation is causing the problem. Any relocation against

.debug_info which refers to a symbol that's not defined in the same object file

represents a bug. (Not all such bugs will cause linker errors)

ChrisQuenellea at 2007-7-7 15:07:26 > top of Java-index,Archived Forums,Socket Programming...
# 4

Sorry for the delay, and the long output

[ggtbuild@mach /view/zplus_r5000_sun/vobs/zplus/src/lib/zgb/obj/SunOS]

$ /opt/SUNWspro/bin/dwarfdump ztty.o

.debug_info

COMPILE_UNIT<header overall offset = 0>:

<0><11>DW_TAG_compile_unit

DW_AT_low_pc0

DW_AT_high_pc0x4

DW_AT_nameztty.c

DW_AT_language DW_LANG_C99

DW_AT_comp_dir /vobs/zplus/lib4/zgb

DW_AT_SUN_command_line/opt/SUNWspro/prod/bin/cc -Xt -KPIC -g -DSunOS -DZERROR_H -I/vobs/zplus/src/include/zcl -I/usr/dt/include -I/usr/openwin/include -c -o obj/SunOS/ztty.o ztty.c -W0,-xp\$XAloEhGDY\$lFmk3.

DW_AT_SUN_compile_optionsXt;g;P;R=Sun C 5.8 Patch 121015-02 2006/03/29;G=$XAloEhGDY$lFmk3.;backend;raw;cd;

DW_AT_producer DBG_GEN 5.0.8

DW_AT_stmt_list 0

LOCAL_SYMBOLS:

<1>< 337>DW_TAG_base_type

DW_AT_namechar

DW_AT_encoding DW_ATE_signed_char

DW_AT_byte_size 1

<1>< 345>DW_TAG_base_type

DW_AT_namelong

DW_AT_encoding DW_ATE_signed

DW_AT_byte_size 4

<1>< 353>DW_TAG_array_type

DW_AT_type<337>

DW_AT_sibling<368>

<2>< 362>DW_TAG_subrange_type

DW_AT_type<345>

<1>< 368>DW_TAG_variable

DW_AT_namercsid

DW_AT_type<353>

DW_AT_visibilityDW_VIS_qualified

DW_AT_decl_file 1

DW_AT_decl_line 55

DW_AT_SUN_link_name $XAloEhGDY$lFmk3.rcsid

DW_AT_location DW_OP_addr 0

<1>< 411>DW_TAG_array_type

DW_AT_type<337>

DW_AT_byte_size 53

DW_AT_sibling<428>

<2>< 421>DW_TAG_subrange_type

DW_AT_type<345>

DW_AT_upper_bound52

<1>< 428>DW_TAG_variable

DW_AT_namercsid

DW_AT_type<411>

DW_AT_visibilityDW_VIS_qualified

DW_AT_decl_file 1

DW_AT_decl_line 55

DW_AT_SUN_link_name $XAloEhGDY$lFmk3.rcsid

DW_AT_location DW_OP_addr 0

<1>< 471>DW_TAG_subprogram

DW_AT_namezopenterm_

DW_AT_external yes(1)

DW_AT_visibilityDW_VIS_exported

DW_AT_decl_file 1

DW_AT_decl_line 94

DW_AT_low_pc0

DW_AT_high_pc0

DW_AT_frame_baseDW_OP_reg30

DW_AT_type<697>

DW_AT_SUN_language 1

DW_AT_sibling<697>

<2>< 506>DW_TAG_formal_parameter

DW_AT_type<704>

DW_AT_namespecfile

DW_AT_decl_file 1

DW_AT_decl_line 92

DW_AT_location DW_OP_fbreg 68

<2>< 526>DW_TAG_variable

DW_AT_nametty_flag

DW_AT_type<704>

DW_AT_visibilityDW_VIS_local

DW_AT_decl_file 1

DW_AT_decl_line 96

DW_AT_location DW_OP_fbreg -8

<2>< 546>DW_TAG_variable

DW_AT_nametok

DW_AT_type<704>

DW_AT_visibilityDW_VIS_local

DW_AT_decl_file 1

DW_AT_decl_line 97

DW_AT_location DW_OP_fbreg -12

<2>< 561>DW_TAG_variable

DW_AT_nameparms

DW_AT_type<781>

DW_AT_visibilityDW_VIS_local

DW_AT_decl_file 1

DW_AT_decl_line 101

DW_AT_location DW_OP_fbreg -48

<2>< 578>DW_TAG_variable

DW_AT_name__func__

DW_AT_type<879>

DW_AT_visibilityDW_VIS_qualified

DW_AT_decl_file 1

DW_AT_decl_line 94

DW_AT_SUN_link_name $XBloEhGDY$lFmk3.zopenterm_.__func__

DW_AT_location DW_OP_addr 0

<2>< 638>DW_TAG_subprogram

DW_AT_namegetenv

DW_AT_external yes(1)

DW_AT_declarationyes(1)

DW_AT_type<704>

DW_AT_SUN_language 1

<2>< 653>DW_TAG_lexical_block

DW_AT_low_pc0

DW_AT_high_pc0

<3>< 662>DW_TAG_lexical_block

DW_AT_low_pc0

DW_AT_high_pc0

<4>< 671>DW_TAG_lexical_block

DW_AT_low_pc0

DW_AT_high_pc0

<5>< 680>DW_TAG_subprogram

DW_AT_nameexit

DW_AT_external yes(1)

DW_AT_declarationyes(1)

DW_AT_type<697>

DW_AT_SUN_language 1

<1>< 697>DW_TAG_base_type

DW_AT_nameint

DW_AT_encoding DW_ATE_signed

DW_AT_byte_size 4

<1>< 704>DW_TAG_pointer_type

DW_AT_type<337>

<1>< 709>DW_TAG_base_type

DW_AT_nameunsigned

DW_AT_encoding DW_ATE_unsigned

DW_AT_byte_size 4

<1>< 721>DW_TAG_typedef

DW_AT_type<709>

DW_AT_nametcflag_t

DW_AT_decl_file 2

<1>< 736>DW_TAG_base_type

DW_AT_nameunsigned char

DW_AT_encoding DW_ATE_unsigned_char

DW_AT_byte_size 1

<1>< 753>DW_TAG_typedef

DW_AT_type<736>

DW_AT_namecc_t

DW_AT_decl_file 2

<1>< 764>DW_TAG_array_type

DW_AT_type<753>

DW_AT_byte_size 19

DW_AT_sibling<781>

<2>< 774>DW_TAG_subrange_type

DW_AT_type<345>

DW_AT_upper_bound18

<1>< 781>DW_TAG_structure_type

DW_AT_nametermios

DW_AT_byte_size 36

DW_AT_decl_file 2

DW_AT_sibling<874>

<2>< 796>DW_TAG_member

DW_AT_namec_iflag

DW_AT_type<721>

DW_AT_data_member_location DW_OP_plus_uconst 0

<2>< 812>DW_TAG_member

DW_AT_namec_oflag

DW_AT_type<721>

DW_AT_data_member_location DW_OP_plus_uconst 4

<2>< 828>DW_TAG_member

DW_AT_namec_cflag

DW_AT_type<721>

DW_AT_data_member_location DW_OP_plus_uconst 8

<2>< 844>DW_TAG_member

DW_AT_namec_lflag

DW_AT_type<721>

DW_AT_data_member_location DW_OP_plus_uconst 12

<2>< 860>DW_TAG_member

DW_AT_namec_cc

DW_AT_type<764>

DW_AT_data_member_location DW_OP_plus_uconst 16

<1>< 874>DW_TAG_const_type

DW_AT_type<337>

<1>< 879>DW_TAG_array_type

DW_AT_type<874>

DW_AT_byte_size 11

DW_AT_sibling<896>

<2>< 889>DW_TAG_subrange_type

DW_AT_type<345>

DW_AT_upper_bound10

<1>< 896>DW_TAG_subprogram

DW_AT_namezttywritec_

DW_AT_external yes(1)

DW_AT_visibilityDW_VIS_exported

DW_AT_decl_file 1

DW_AT_decl_line 234

DW_AT_low_pc0

DW_AT_high_pc0

DW_AT_frame_baseDW_OP_reg30

DW_AT_type<697>

DW_AT_SUN_language 1

DW_AT_sibling<1026>

<2>< 932>DW_TAG_formal_parameter

DW_AT_type<704>

DW_AT_namestr

DW_AT_decl_file 1

DW_AT_decl_line 232

DW_AT_location DW_OP_fbreg 68

<2>< 947>DW_TAG_variable

DW_AT_nameitemp

DW_AT_type<697>

DW_AT_visibilityDW_VIS_local

DW_AT_decl_file 1

DW_AT_decl_line 235

DW_AT_location DW_OP_fbreg -8

<2>< 964>DW_TAG_variable

DW_AT_name__func__

DW_AT_type<1031>

DW_AT_visibilityDW_VIS_qualified

DW_AT_decl_file 1

DW_AT_decl_line 234

DW_AT_SUN_link_name $XBloEhGDY$lFmk3.zttywritec_.__func__

DW_AT_location DW_OP_addr 0

<1>< 1026>DW_TAG_const_type

DW_AT_type<337>

<1>< 1031>DW_TAG_array_type

DW_AT_type<1026>

DW_AT_byte_size 12

DW_AT_sibling<1048>

<2>< 1041>DW_TAG_subrange_type

DW_AT_type<345>

DW_AT_upper_bound11

<1>< 1048>DW_TAG_subprogram

DW_AT_namezttyreadc_

DW_AT_external yes(1)

DW_AT_visibilityDW_VIS_exported

DW_AT_decl_file 1

DW_AT_decl_line 247

DW_AT_low_pc0

DW_AT_high_pc0

DW_AT_frame_baseDW_OP_reg30

DW_AT_type<697>

DW_AT_SUN_language 1

DW_AT_sibling<1175>

<2>< 1083>DW_TAG_formal_parameter

DW_AT_type<704>

DW_AT_namestr

DW_AT_decl_file 1

DW_AT_decl_line 245

DW_AT_location DW_OP_fbreg 68

<2>< 1098>DW_TAG_variable

DW_AT_nameilen

DW_AT_type<697>

DW_AT_visibilityDW_VIS_local

DW_AT_decl_file 1

DW_AT_decl_line 248

DW_AT_location DW_OP_fbreg -8

<2>< 1114>DW_TAG_variable

DW_AT_name__func__

DW_AT_type<1180>

DW_AT_visibilityDW_VIS_qualified

DW_AT_decl_file 1

DW_AT_decl_line 247

DW_AT_SUN_link_name $XBloEhGDY$lFmk3.zttyreadc_.__func__

DW_AT_location DW_OP_addr 0

<1>< 1175>DW_TAG_const_type

DW_AT_type<337>

<1>< 1180>DW_TAG_array_type

DW_AT_type<1175>

DW_AT_byte_size 11

DW_AT_sibling<1197>

<2>< 1190>DW_TAG_subrange_type

DW_AT_type<345>

DW_AT_upper_bound10

<1>< 1197>DW_TAG_variable

DW_AT_namefd

DW_AT_type<697>

DW_AT_external yes(1)

DW_AT_visibilityDW_VIS_exported

DW_AT_decl_file 1

DW_AT_decl_line 73

DW_AT_location DW_OP_addr 0

<1>< 1215>DW_TAG_pointer_type

DW_AT_type<736>

<1>< 1220>DW_TAG_structure_type

DW_AT_name__FILE

DW_AT_byte_size 16

DW_AT_decl_file 3

DW_AT_sibling<1392>

<2>< 1234>DW_TAG_member

DW_AT_name_cnt

DW_AT_type<697>

DW_AT_data_member_location DW_OP_plus_uconst 0

<2>< 1247>DW_TAG_member

DW_AT_name_ptr

DW_AT_type<1215>

DW_AT_data_member_location DW_OP_plus_uconst 4

<2>< 1260>DW_TAG_member

DW_AT_name_base

DW_AT_type<1215>

DW_AT_data_member_location DW_OP_plus_uconst 8

<2>< 1274>DW_TAG_member

DW_AT_name_flag

DW_AT_type<736>

DW_AT_data_member_location DW_OP_plus_uconst 12

<2>< 1288>DW_TAG_member

DW_AT_name_file

DW_AT_type<736>

DW_AT_data_member_location DW_OP_plus_uconst 13

<2>< 1302>DW_TAG_member

DW_AT_name__orientation

DW_AT_type<709>

DW_AT_data_member_location DW_OP_plus_uconst 12

DW_AT_byte_size 4

DW_AT_bit_offset16

DW_AT_bit_size 2

<2>< 1327>DW_TAG_member

DW_AT_name__ionolock

DW_AT_type<709>

DW_AT_data_member_location DW_OP_plus_uconst 12

DW_AT_byte_size 4

DW_AT_bit_offset18

DW_AT_bit_size 1

<2>< 1349>DW_TAG_member

DW_AT_name__seekable

DW_AT_type<709>

DW_AT_data_member_location DW_OP_plus_uconst 12

DW_AT_byte_size 4

DW_AT_bit_offset19

DW_AT_bit_size 1

<2>< 1371>DW_TAG_member

DW_AT_name__filler

DW_AT_type<709>

DW_AT_data_member_location DW_OP_plus_uconst 12

DW_AT_byte_size 4

DW_AT_bit_offset20

DW_AT_bit_size 4

<1>< 1392>DW_TAG_typedef

DW_AT_type<1220>

DW_AT_nameFILE

DW_AT_decl_file 4

<1>< 1403>DW_TAG_pointer_type

DW_AT_type<1392>

<1>< 1408>DW_TAG_variable

DW_AT_namefp

DW_AT_type<1403>

DW_AT_external yes(1)

DW_AT_visibilityDW_VIS_exported

DW_AT_decl_file 1

DW_AT_decl_line 72

DW_AT_location DW_OP_addr 0

<1>< 1426>DW_TAG_const_type

DW_AT_type<781>

<1>< 1431>DW_TAG_pointer_type

DW_AT_type<1426>

<1>< 1436>DW_TAG_subprogram

DW_AT_nametcsetattr

DW_AT_external yes(1)

DW_AT_declarationyes(1)

DW_AT_prototypedyes(1)

DW_AT_type<697>

DW_AT_SUN_language 1

DW_AT_sibling<1475>

<2>< 1459>DW_TAG_formal_parameter

DW_AT_type<697>

<2>< 1464>DW_TAG_formal_parameter

DW_AT_type<697>

<2>< 1469>DW_TAG_formal_parameter

DW_AT_type<1431>

<1>< 1475>DW_TAG_pointer_type

DW_AT_type<781>

<1>< 1480>DW_TAG_subprogram

DW_AT_nametcgetattr

DW_AT_external yes(1)

DW_AT_declarationyes(1)

DW_AT_prototypedyes(1)

DW_AT_type<697>

DW_AT_SUN_language 1

DW_AT_sibling<1514>

<2>< 1503>DW_TAG_formal_parameter

DW_AT_type<697>

<2>< 1508>DW_TAG_formal_parameter

DW_AT_type<1475>

<1>< 1514>DW_TAG_const_type

DW_AT_type<337>

<1>< 1519>DW_TAG_pointer_type

DW_AT_type<1514>

<1>< 1524>DW_TAG_subprogram

DW_AT_nameopen

DW_AT_external yes(1)

DW_AT_declarationyes(1)

DW_AT_prototypedyes(1)

DW_AT_type<697>

DW_AT_SUN_language 1

DW_AT_sibling<1554>

<2>< 1542>DW_TAG_formal_parameter

DW_AT_type<1519>

<2>< 1547>DW_TAG_formal_parameter

DW_AT_type<697>

<2>< 1552>DW_TAG_unspecified_parameters

<1>< 1554>DW_TAG_const_type

DW_AT_type<337>

<1>< 1559>DW_TAG_pointer_type

DW_AT_type<1554>

<1>< 1564>DW_TAG_subprogram

DW_AT_namestrtok

DW_AT_external yes(1)

DW_AT_declarationyes(1)

DW_AT_prototypedyes(1)

DW_AT_type<704>

DW_AT_SUN_language 1

DW_AT_sibling<1595>

<2>< 1584>DW_TAG_formal_parameter

DW_AT_type<704>

<2>< 1589>DW_TAG_formal_parameter

DW_AT_type<1559>

<1>< 1595>DW_TAG_typedef

DW_AT_type<709>

DW_AT_namesize_t

DW_AT_decl_file 4

<1>< 1608>DW_TAG_const_type

DW_AT_type<337>

<1>< 1613>DW_TAG_pointer_type

DW_AT_type<1608>

<1>< 1618>DW_TAG_subprogram

DW_AT_namestrlen

DW_AT_external yes(1)

DW_AT_declarationyes(1)

DW_AT_prototypedyes(1)

DW_AT_type<1595>

DW_AT_SUN_language 1

DW_AT_sibling<1644>

<2>< 1638>DW_TAG_formal_parameter

DW_AT_type<1613>

<1>< 1644>DW_TAG_const_type

DW_AT_type<337>

<1>< 1649>DW_TAG_pointer_type

DW_AT_type<1644>

<1>< 1654>DW_TAG_const_type

DW_AT_type<337>

<1>< 1659>DW_TAG_pointer_type

DW_AT_type<1654>

<1>< 1664>DW_TAG_subprogram

DW_AT_namestrcmp

DW_AT_external yes(1)

DW_AT_declarationyes(1)

DW_AT_prototypedyes(1)

DW_AT_type<697>

DW_AT_SUN_language 1

DW_AT_sibling<1695>

<2>< 1684>DW_TAG_formal_parameter

DW_AT_type<1649>

<2>< 1689>DW_TAG_formal_parameter

DW_AT_type<1659>

<1>< 1695>DW_TAG_const_type

DW_AT_type<337>

<1>< 1700>DW_TAG_pointer_type

DW_AT_type<1695>

<1>< 1705>DW_TAG_pointer_type

DW_AT_type<1220>

<1>< 1710>DW_TAG_subprogram

DW_AT_namefputs

DW_AT_external yes(1)

DW_AT_declarationyes(1)

DW_AT_prototypedyes(1)

DW_AT_type<697>

DW_AT_SUN_language 1

DW_AT_sibling<1740>

<2>< 1729>DW_TAG_formal_parameter

DW_AT_type<1700>

<2>< 1734>DW_TAG_formal_parameter

DW_AT_type<1705>

<1>< 1740>DW_TAG_subprogram

DW_AT_namefgets

DW_AT_external yes(1)

DW_AT_declarationyes(1)

DW_AT_prototypedyes(1)

DW_AT_type<704>

DW_AT_SUN_language 1

DW_AT_sibling<1775>

<2>< 1759>DW_TAG_formal_parameter

DW_AT_type<704>

<2>< 1764>DW_TAG_formal_parameter

DW_AT_type<697>

<2>< 1769>DW_TAG_formal_parameter

DW_AT_type<1705>

<1>< 1775>DW_TAG_const_type

DW_AT_type<337>

<1>< 1780>DW_TAG_pointer_type

DW_AT_type<1775>

<1>< 1785>DW_TAG_subprogram

DW_AT_nameprintf

DW_AT_external yes(1)

DW_AT_declarationyes(1)

DW_AT_prototypedyes(1)

DW_AT_type<697>

DW_AT_SUN_language 1

DW_AT_sibling<1812>

<2>< 1805>DW_TAG_formal_parameter

DW_AT_type<1780>

<2>< 1810>DW_TAG_unspecified_parameters

<1>< 1812>DW_TAG_const_type

DW_AT_type<337>

<1>< 1817>DW_TAG_pointer_type

DW_AT_type<1812>

<1>< 1822>DW_TAG_subprogram

DW_AT_namefprintf

DW_AT_external yes(1)

DW_AT_declarationyes(1)

DW_AT_prototypedyes(1)

DW_AT_type<697>

DW_AT_SUN_language 1

DW_AT_sibling<1855>

<2>< 1843>DW_TAG_formal_parameter

DW_AT_type<1705>

<2>< 1848>DW_TAG_formal_parameter

DW_AT_type<1817>

<2>< 1853>DW_TAG_unspecified_parameters

<1>< 1855>DW_TAG_const_type

DW_AT_type<337>

<1>< 1860>DW_TAG_pointer_type

DW_AT_type<1855>

<1>< 1865>DW_TAG_const_type

DW_AT_type<337>

<1>< 1870>DW_TAG_pointer_type

DW_AT_type<1865>

<1>< 1875>DW_TAG_subprogram

DW_AT_namefopen

DW_AT_external yes(1)

DW_AT_declarationyes(1)

DW_AT_prototypedyes(1)

DW_AT_type<1403>

DW_AT_SUN_language 1

DW_AT_sibling<1905>

<2>< 1894>DW_TAG_formal_parameter

DW_AT_type<1860>

<2>< 1899>DW_TAG_formal_parameter

DW_AT_type<1870>

<1>< 1905>DW_TAG_subprogram

DW_AT_namefflush

DW_AT_external yes(1)

DW_AT_declarationyes(1)

DW_AT_prototypedyes(1)

DW_AT_type<697>

DW_AT_SUN_language 1

<2>< 1921>DW_TAG_formal_parameter

DW_AT_type<1705>

.debug_line

<source>[row,column]<pc>//<new statement or basic block

/vobs/zplus/lib4/zgb/ztty.c:[103,-1]0x20// new statement

/vobs/zplus/lib4/zgb/ztty.c:[104,-1]0x64// new statement

/vobs/zplus/lib4/zgb/ztty.c:[105,-1]0x94// new statement

/vobs/zplus/lib4/zgb/ztty.c:[117,-1]0x9c// new statement

/vobs/zplus/lib4/zgb/ztty.c:[118,-1]0xd4// new statement

/vobs/zplus/lib4/zgb/ztty.c:[119,-1]0x104// new statement

/vobs/zplus/lib4/zgb/ztty.c:[123,-1]0x114// new statement

/vobs/zplus/lib4/zgb/ztty.c:[125,-1]0x130// new statement

/vobs/zplus/lib4/zgb/ztty.c:[126,-1]0x15c// new statement

/vobs/zplus/lib4/zgb/ztty.c:[129,-1]0x178// new statement

/vobs/zplus/lib4/zgb/ztty.c:[130,-1]0x18c// new statement

/vobs/zplus/lib4/zgb/ztty.c:[131,-1]0x1a8// new statement

/vobs/zplus/lib4/zgb/ztty.c:[132,-1]0x1c4// new statement

/vobs/zplus/lib4/zgb/ztty.c:[133,-1]0x1e0// new statement

/vobs/zplus/lib4/zgb/ztty.c:[136,-1]0x1fc// new statement

/vobs/zplus/lib4/zgb/ztty.c:[137,-1]0x214// new statement

/vobs/zplus/lib4/zgb/ztty.c:[138,-1]0x224// new statement

/vobs/zplus/lib4/zgb/ztty.c:[139,-1]0x240// new statement

/vobs/zplus/lib4/zgb/ztty.c:[140,-1]0x244// new statement

/vobs/zplus/lib4/zgb/ztty.c:[141,-1]0x264// new statement

/vobs/zplus/lib4/zgb/ztty.c:[142,-1]0x274// new statement

/vobs/zplus/lib4/zgb/ztty.c:[143,-1]0x2a8// new statement

/vobs/zplus/lib4/zgb/ztty.c:[144,-1]0x2dc// new statement

/vobs/zplus/lib4/zgb/ztty.c:[145,-1]0x310// new statement

/vobs/zplus/lib4/zgb/ztty.c:[146,-1]0x344// new statement

/vobs/zplus/lib4/zgb/ztty.c:[147,-1]0x378// new statement

/vobs/zplus/lib4/zgb/ztty.c:[148,-1]0x3ac// new statement

/vobs/zplus/lib4/zgb/ztty.c:[149,-1]0x3e0// new statement

/vobs/zplus/lib4/zgb/ztty.c:[150,-1]0x414// new statement

/vobs/zplus/lib4/zgb/ztty.c:[151,-1]0x448// new statement

/vobs/zplus/lib4/zgb/ztty.c:[152,-1]0x47c// new statement

/vobs/zplus/lib4/zgb/ztty.c:[153,-1]0x4b4// new statement

/vobs/zplus/lib4/zgb/ztty.c:[141,-1]0x4d0// new statement

/vobs/zplus/lib4/zgb/ztty.c:[156,-1]0x4e0// new statement

/vobs/zplus/lib4/zgb/ztty.c:[157,-1]0x4f8// new statement

/vobs/zplus/lib4/zgb/ztty.c:[158,-1]0x508// new statement

/vobs/zplus/lib4/zgb/ztty.c:[159,-1]0x524// new statement

/vobs/zplus/lib4/zgb/ztty.c:[160,-1]0x528// new statement

/vobs/zplus/lib4/zgb/ztty.c:[161,-1]0x548// new statement

/vobs/zplus/lib4/zgb/ztty.c:[162,-1]0x558// new statement

/vobs/zplus/lib4/zgb/ztty.c:[163,-1]0x58c// new statement

/vobs/zplus/lib4/zgb/ztty.c:[164,-1]0x5c0// new statement

/vobs/zplus/lib4/zgb/ztty.c:[165,-1]0x5f4// new statement

/vobs/zplus/lib4/zgb/ztty.c:[166,-1]0x628// new statement

/vobs/zplus/lib4/zgb/ztty.c:[167,-1]0x65c// new statement

/vobs/zplus/lib4/zgb/ztty.c:[168,-1]0x690// new statement

/vobs/zplus/lib4/zgb/ztty.c:[169,-1]0x6c4// new statement

/vobs/zplus/lib4/zgb/ztty.c:[170,-1]0x6f8// new statement

/vobs/zplus/lib4/zgb/ztty.c:[161,-1]0x714// new statement

/vobs/zplus/lib4/zgb/ztty.c:[173,-1]0x724// new statement

/vobs/zplus/lib4/zgb/ztty.c:[174,-1]0x73c// new statement

/vobs/zplus/lib4/zgb/ztty.c:[175,-1]0x74c// new statement

/vobs/zplus/lib4/zgb/ztty.c:[176,-1]0x768// new statement

/vobs/zplus/lib4/zgb/ztty.c:[177,-1]0x76c// new statement

/vobs/zplus/lib4/zgb/ztty.c:[178,-1]0x78c// new statement

/vobs/zplus/lib4/zgb/ztty.c:[179,-1]0x79c// new statement

/vobs/zplus/lib4/zgb/ztty.c:[180,-1]0x7d0// new statement

/vobs/zplus/lib4/zgb/ztty.c:[181,-1]0x804// new statement

/vobs/zplus/lib4/zgb/ztty.c:[182,-1]0x838// new statement

/vobs/zplus/lib4/zgb/ztty.c:[183,-1]0x86c// new statement

/vobs/zplus/lib4/zgb/ztty.c:[184,-1]0x8a0// new statement

/vobs/zplus/lib4/zgb/ztty.c:[185,-1]0x8d4// new statement

/vobs/zplus/lib4/zgb/ztty.c:[186,-1]0x908// new statement

/vobs/zplus/lib4/zgb/ztty.c:[187,-1]0x93c// new statement

/vobs/zplus/lib4/zgb/ztty.c:[188,-1]0x970// new statement

/vobs/zplus/lib4/zgb/ztty.c:[189,-1]0x9a4// new statement

/vobs/zplus/lib4/zgb/ztty.c:[190,-1]0x9d8// new statement

/vobs/zplus/lib4/zgb/ztty.c:[191,-1]0xa0c// new statement

/vobs/zplus/lib4/zgb/ztty.c:[192,-1]0xa40// new statement

/vobs/zplus/lib4/zgb/ztty.c:[193,-1]0xa74// new statement

/vobs/zplus/lib4/zgb/ztty.c:[194,-1]0xaa8// new statement

/vobs/zplus/lib4/zgb/ztty.c:[195,-1]0xadc// new statement

/vobs/zplus/lib4/zgb/ztty.c:[178,-1]0xaf8// new statement

/vobs/zplus/lib4/zgb/ztty.c:[198,-1]0xb08// new statement

/vobs/zplus/lib4/zgb/ztty.c:[199,-1]0xb20// new statement

/vobs/zplus/lib4/zgb/ztty.c:[200,-1]0xb30// new statement

/vobs/zplus/lib4/zgb/ztty.c:[201,-1]0xb4c// new statement

/vobs/zplus/lib4/zgb/ztty.c:[202,-1]0xb50// new statement

/vobs/zplus/lib4/zgb/ztty.c:[203,-1]0xb70// new statement

/vobs/zplus/lib4/zgb/ztty.c:[204,-1]0xb80// new statement

/vobs/zplus/lib4/zgb/ztty.c:[205,-1]0xbb4// new statement

/vobs/zplus/lib4/zgb/ztty.c:[206,-1]0xbe8// new statement

/vobs/zplus/lib4/zgb/ztty.c:[207,-1]0xc1c// new statement

/vobs/zplus/lib4/zgb/ztty.c:[208,-1]0xc50// new statement

/vobs/zplus/lib4/zgb/ztty.c:[209,-1]0xc84// new statement

/vobs/zplus/lib4/zgb/ztty.c:[210,-1]0xcb8// new statement

/vobs/zplus/lib4/zgb/ztty.c:[211,-1]0xcec// new statement

/vobs/zplus/lib4/zgb/ztty.c:[212,-1]0xd20// new statement

/vobs/zplus/lib4/zgb/ztty.c:[203,-1]0xd3c// new statement

/vobs/zplus/lib4/zgb/ztty.c:[216,-1]0xd4c// new statement

/vobs/zplus/lib4/zgb/ztty.c:[217,-1]0xd80// new statement

/vobs/zplus/lib4/zgb/ztty.c:[220,-1]0xd9c// new statement

/vobs/zplus/lib4/zgb/ztty.c:[221,-1]0xdb0// new statement

/vobs/zplus/lib4/zgb/ztty.c:[222,-1]0xdcc// new statement

/vobs/zplus/lib4/zgb/ztty.c:[223,-1]0xde8// new statement

/vobs/zplus/lib4/zgb/ztty.c:[224,-1]0xe04// new statement

/vobs/zplus/lib4/zgb/ztty.c:[230,-1]0xe20// new statement

/vobs/zplus/lib4/zgb/ztty.c:[240,-1]0x20// new statement

/vobs/zplus/lib4/zgb/ztty.c:[241,-1]0x44// new statement

/vobs/zplus/lib4/zgb/ztty.c:[243,-1]0x60// new statement

/vobs/zplus/lib4/zgb/ztty.c:[251,-1]0x20// new statement

/vobs/zplus/lib4/zgb/ztty.c:[252,-1]0x44// new statement

/vobs/zplus/lib4/zgb/ztty.c:[253,-1]0x54// new statement

/vobs/zplus/lib4/zgb/ztty.c:[254,-1]0x64// new statement

.debug_pubnames

global zopenterm_die-in-sect 471, cu-in-sect 11, die-in-cu 471, cu-header-in-sect 0

global zttywritec_die-in-sect 896, cu-in-sect 11, die-in-cu 896, cu-header-in-sect 0

global zttyreadc_die-in-sect 1048, cu-in-sect 11, die-in-cu 1048, cu-header-in-sect 0

global fd die-in-sect 1197, cu-in-sect 11, die-in-cu 1197, cu-header-in-sect 0

global fp die-in-sect 1408, cu-in-sect 11, die-in-cu 1408, cu-header-in-sect 0

.debug_macinfo

.debug_loc

.debug_abbrev

><1><0><code: 1> DW_TAG_compile_unit DW_children_yes

<3>DW_AT_low_pcDW_FORM_addr

<5>DW_AT_high_pcDW_FORM_addr

<7>DW_AT_nameDW_FORM_string

<9>DW_AT_language DW_FORM_data1

<11>DW_AT_comp_dir DW_FORM_string

<13>DW_AT_SUN_command_lineDW_FORM_string

<16>DW_AT_SUN_compile_optionsDW_FORM_string

<19>DW_AT_producer DW_FORM_string

<21>DW_AT_stmt_list DW_FORM_data4

<2><25><code: 2> DW_TAG_base_typeDW_children_no

<28>DW_AT_nameDW_FORM_string

<30>DW_AT_encoding DW_FORM_data1

<32>DW_AT_byte_size DW_FORM_data1

<3><36><code: 3> DW_TAG_array_typeDW_children_yes

<39>DW_AT_typeDW_FORM_ref4

<41>DW_AT_siblingDW_FORM_ref4

<4><45><code: 4> DW_TAG_subrange_typeDW_children_no

<48>DW_AT_typeDW_FORM_ref4

<5><52><code: 5> DW_TAG_variableDW_children_no

<55>DW_AT_nameDW_FORM_string

<57>DW_AT_typeDW_FORM_ref4

<59>DW_AT_visibilityDW_FORM_data1

<61>DW_AT_decl_file DW_FORM_data1

<63>DW_AT_decl_line DW_FORM_data1

<65>DW_AT_SUN_link_name DW_FORM_string

<68>DW_AT_location DW_FORM_block1

<6><72><code: 6> DW_TAG_array_typeDW_children_yes

<75>DW_AT_typeDW_FORM_ref4

<77>DW_AT_byte_size DW_FORM_data1

<79>DW_AT_siblingDW_FORM_ref4

<7><83><code: 7> DW_TAG_subrange_typeDW_children_no

<86>DW_AT_typeDW_FORM_ref4

<88>DW_AT_upper_boundDW_FORM_data1

<8><92><code: 8> DW_TAG_subprogramDW_children_yes

<95>DW_AT_nameDW_FORM_string

<97>DW_AT_external DW_FORM_flag

<99>DW_AT_visibilityDW_FORM_data1

< 101>DW_AT_decl_file DW_FORM_data1

< 103>DW_AT_decl_line DW_FORM_data1

< 105>DW_AT_low_pcDW_FORM_addr

< 107>DW_AT_high_pcDW_FORM_addr

< 109>DW_AT_frame_baseDW_FORM_block1

< 111>DW_AT_typeDW_FORM_ref4

< 113>DW_AT_SUN_language DW_FORM_data1

< 116>DW_AT_siblingDW_FORM_ref4

<9>< 120><code: 9> DW_TAG_formal_parameterDW_children_no

< 123>DW_AT_typeDW_FORM_ref4

< 125>DW_AT_nameDW_FORM_string

< 127>DW_AT_decl_file DW_FORM_data1

< 129>DW_AT_decl_line DW_FORM_data1

< 131>DW_AT_location DW_FORM_block1

< 10>< 135><code: 10> DW_TAG_variableDW_children_no

< 138>DW_AT_nameDW_FORM_string

< 140>DW_AT_typeDW_FORM_ref4

< 142>DW_AT_visibilityDW_FORM_data1

< 144>DW_AT_decl_file DW_FORM_data1

< 146>DW_AT_decl_line DW_FORM_data1

< 148>DW_AT_location DW_FORM_block1

< 11>< 152><code: 11> DW_TAG_subprogramDW_children_no

< 155>DW_AT_nameDW_FORM_string

< 157>DW_AT_external DW_FORM_flag

< 159>DW_AT_declarationDW_FORM_flag

< 161>DW_AT_typeDW_FORM_ref4

< 163>DW_AT_SUN_language DW_FORM_data1

< 12>< 168><code: 12> DW_TAG_lexical_blockDW_children_yes

< 171>DW_AT_low_pcDW_FORM_addr

< 173>DW_AT_high_pcDW_FORM_addr

< 13>< 177><code: 13> DW_TAG_pointer_type DW_children_no

< 180>DW_AT_typeDW_FORM_ref4

< 14>< 184><code: 14> DW_TAG_typedefDW_children_no

< 187>DW_AT_typeDW_FORM_ref4

< 189>DW_AT_nameDW_FORM_string

< 191>DW_AT_decl_file DW_FORM_data1

< 15>< 195><code: 15> DW_TAG_structure_typeDW_children_yes

< 198>DW_AT_nameDW_FORM_string

< 200>DW_AT_byte_size DW_FORM_data1

< 202>DW_AT_decl_file DW_FORM_data1

< 204>DW_AT_siblingDW_FORM_ref4

< 16>< 208><code: 16> DW_TAG_memberDW_children_no

< 211>DW_AT_nameDW_FORM_string

< 213>DW_AT_typeDW_FORM_ref4

< 215>DW_AT_data_member_location DW_FORM_block1

< 17>< 219><code: 17> DW_TAG_const_typeDW_children_no

< 222>DW_AT_typeDW_FORM_ref4

< 18>< 226><code: 18> DW_TAG_variableDW_children_no

< 229>DW_AT_nameDW_FORM_string

< 231>DW_AT_typeDW_FORM_ref4

< 233>DW_AT_external DW_FORM_flag

< 235>DW_AT_visibilityDW_FORM_data1

< 237>DW_AT_decl_file DW_FORM_data1

< 239>DW_AT_decl_line DW_FORM_data1

< 241>DW_AT_location DW_FORM_block1

< 19>< 245><code: 19> DW_TAG_memberDW_children_no

< 248>DW_AT_nameDW_FORM_string

< 250>DW_AT_typeDW_FORM_ref4

< 252>DW_AT_data_member_location DW_FORM_block1

< 254>DW_AT_byte_size DW_FORM_data1

< 256>DW_AT_bit_offsetDW_FORM_data1

< 258>DW_AT_bit_size DW_FORM_data1

< 20>< 262><code: 20> DW_TAG_subprogramDW_children_yes

< 265>DW_AT_nameDW_FORM_string

< 267>DW_AT_external DW_FORM_flag

< 269>DW_AT_declarationDW_FORM_flag

< 271>DW_AT_prototypedDW_FORM_flag

< 273>DW_AT_typeDW_FORM_ref4

< 275>DW_AT_SUN_language DW_FORM_data1

< 278>DW_AT_siblingDW_FORM_ref4

< 21>< 282><code: 21> DW_TAG_formal_parameterDW_children_no

< 285>DW_AT_typeDW_FORM_ref4

< 22>< 289><code: 0> null .debug_abbrev entry

< 23>< 294><code: 23> DW_TAG_subprogramDW_children_yes

< 297>DW_AT_nameDW_FORM_string

< 299>DW_AT_external DW_FORM_flag

< 301>DW_AT_declarationDW_FORM_flag

< 303>DW_AT_prototypedDW_FORM_flag

< 305>DW_AT_typeDW_FORM_ref4

< 307>DW_AT_SUN_language DW_FORM_data1

< 24>< 312><code: 0> null .debug_abbrev entry

.debug_string

.debug_aranges

.debug_frame

.debug_static_func

.debug_static_vars

static-var rcsiddie 368, cu-die 11, off-in-cu 368, cu 0

static-var rcsiddie 428, cu-die 11, off-in-cu 428, cu 0

static-var __func__die 578, cu-die 11, off-in-cu 578, cu 0

static-var __func__die 964, cu-die 11, off-in-cu 964, cu 0

static-var __func__die 1114, cu-die 11, off-in-cu 1114, cu 0

.debug_typenames

type tcflag_tdie 721, cu-die 11, off-in-cu 721, cu 0

type cc_tdie 753, cu-die 11, off-in-cu 753, cu 0

type termios die 781, cu-die 11, off-in-cu 781, cu 0

type __FILE die 1220, cu-die 11, off-in-cu 1220, cu 0

type FILEdie 1392, cu-die 11, off-in-cu 1392, cu 0

type size_t die 1595, cu-die 11, off-in-cu 1595, cu 0

.debug_weaknames

[ggtbuild@mach /view/zplus_r5000_sun/vobs/zplus/src/lib/zgb/obj/SunOS]

$ elfdump ztty.o

ELF Header

ei_magic:{ 0x7f, E, L, F }

ei_class:ELFCLASS32 ei_data:ELFDATA2MSB

e_machine: EM_SPARC32PLUSe_version:EV_CURRENT

e_type:ET_REL

e_flags:[ EF_SPARC_32PLUS ]

e_entry: 0 e_ehsize:52 e_shstrndx:1

e_shoff:0x3a88 e_shentsize: 40 e_shnum:24

e_phoff: 0 e_phentsize:0 e_phnum:0

Section Header[1]: sh_name: .shstrtab

sh_addr:0sh_flags:0

sh_size:0x11ash_type:[ SHT_STRTAB ]

sh_offset:0x34sh_entsize: 0

sh_link:0sh_info:0

sh_addralign: 0x1

Section Header[2]: sh_name: .text

sh_addr:0sh_flags:[ SHF_ALLOC SHF_EXECINSTR ]

sh_size:0xf30sh_type:[ SHT_PROGBITS ]

sh_offset:0x150sh_entsize: 0

sh_link:0sh_info:0

sh_addralign: 0x8

Section Header[3]: sh_name: .rodata1

sh_addr:0sh_flags:[ SHF_ALLOC ]

sh_size:0x3cbsh_type:[ SHT_PROGBITS ]

sh_offset:0x1080 sh_entsize: 0

sh_link:0sh_info:0

sh_addralign: 0x4

Section Header[4]: sh_name: .data1

sh_addr:0sh_flags:[ SHF_WRITE SHF_ALLOC ]

sh_size:0x48sh_type:[ SHT_PROGBITS ]

sh_offset:0x144c sh_entsize: 0

sh_link:0sh_info:0

sh_addralign: 0x4

Section Header[5]: sh_name: .bss

sh_addr:0sh_flags:[ SHF_WRITE SHF_ALLOC ]

sh_size:0sh_type:[ SHT_NOBITS ]

sh_offset:0x1494 sh_entsize: 0

sh_link:0sh_info:0

sh_addralign: 0x1

Section Header[6]: sh_name: .data

sh_addr:0sh_flags:[ SHF_WRITE SHF_ALLOC ]

sh_size:0x35sh_type:[ SHT_PROGBITS ]

sh_offset:0x1494 sh_entsize: 0

sh_link:0sh_info:0

sh_addralign: 0x1

Section Header[7]: sh_name: .rodata

sh_addr:0sh_flags:[ SHF_ALLOC ]

sh_size:0x22sh_type:[ SHT_PROGBITS ]

sh_offset:0x14c9 sh_entsize: 0

sh_link:0sh_info:0

sh_addralign: 0x1

Section Header[8]: sh_name: .picdata

sh_addr:0sh_flags:[ SHF_WRITE SHF_ALLOC ]

sh_size:0sh_type:[ SHT_PROGBITS ]

sh_offset:0x14eb sh_entsize: 0

sh_link:0sh_info:0

sh_addralign: 0x1

Section Header[9]: sh_name: .comment

sh_addr:0sh_flags:0

sh_size:0x32fsh_type:[ SHT_PROGBITS ]

sh_offset:0x14eb sh_entsize: 0

sh_link:0sh_info:0

sh_addralign: 0x1

Section Header[10]: sh_name: .debug_info

sh_addr:0sh_flags:0

sh_size:0x78csh_type:[ SHT_PROGBITS ]

sh_offset:0x181a sh_entsize: 0x1

sh_link:0sh_info:0

sh_addralign: 0x1

Section Header[11]: sh_name: .debug_line

sh_addr:0sh_flags:0

sh_size:0x14csh_type:[ SHT_PROGBITS ]

sh_offset:0x1fa6 sh_entsize: 0x1

sh_link:0sh_info:0

sh_addralign: 0x1

Section Header[12]: sh_name: .debug_abbrev

sh_addr:0sh_flags:0

sh_size:0x139sh_type:[ SHT_PROGBITS ]

sh_offset:0x20f2 sh_entsize: 0x1

sh_link:0sh_info:0

sh_addralign: 0x1

Section Header[13]: sh_name: .debug_pubnames

sh_addr:0sh_flags:0

sh_size:0x50sh_type:[ SHT_PROGBITS ]

sh_offset:0x222b sh_entsize: 0x1

sh_link:0sh_info:0

sh_addralign: 0x1

Section Header[14]: sh_name: .debug_typenames

sh_addr:0sh_flags:0

sh_size:0x54sh_type:[ SHT_PROGBITS ]

sh_offset:0x227b sh_entsize: 0x1

sh_link:0sh_info:0

sh_addralign: 0x1

Section Header[15]: sh_name: .debug_varnames

sh_addr:0sh_flags:0

sh_size:0x50sh_type:[ SHT_PROGBITS ]

sh_offset:0x22cf sh_entsize: 0x1

sh_link:0sh_info:0

sh_addralign: 0x1

Section Header[16]: sh_name: .strtab

sh_addr:0sh_flags:[ SHF_ALLOC ]

sh_size:0x32bsh_type:[ SHT_STRTAB ]

sh_offset:0x231f sh_entsize: 0

sh_link:0sh_info:0

sh_addralign: 0x1

Section Header[17]: sh_name: .symtab

sh_addr:0sh_flags:[ SHF_ALLOC ]

sh_size:0x6e0sh_type:[ SHT_SYMTAB ]

sh_offset:0x264c sh_entsize: 0x10

sh_link:16 sh_info:85

sh_addralign: 0x4

Section Header[18]: sh_name: .rela.text

sh_addr:0sh_flags:[ SHF_ALLOC ]

sh_size:0xc18sh_type:[ SHT_RELA ]

sh_offset:0x2d2c sh_entsize: 0xc

sh_link:17 sh_info:2

sh_addralign: 0x4

Section Header[19]: sh_name: .rela.debug_info

sh_addr:0sh_flags:[ SHF_ALLOC ]

sh_size:0xfcsh_type:[ SHT_RELA ]

sh_offset:0x3944 sh_entsize: 0xc

sh_link:17 sh_info:10

sh_addralign: 0x4

Section Header[20]: sh_name: .rela.debug_line

sh_addr:0sh_flags:[ SHF_ALLOC ]

sh_size:0x24sh_type:[ SHT_RELA ]

sh_offset:0x3a40 sh_entsize: 0xc

sh_link:17 sh_info:11

sh_addralign: 0x4

Section Header[21]: sh_name: .rela.debug_pubnames

sh_addr:0sh_flags:[ SHF_ALLOC ]

sh_size:0xc sh_type:[ SHT_RELA ]

sh_offset:0x3a64 sh_entsize: 0xc

sh_link:17 sh_info:13

sh_addralign: 0x4

Section Header[22]: sh_name: .rela.debug_typenames

sh_addr:0sh_flags:[ SHF_ALLOC ]

sh_size:0xc sh_type:[ SHT_RELA ]

sh_offset:0x3a70 sh_entsize: 0xc

sh_link:17 sh_info:14

sh_addralign: 0x4

Section Header[23]: sh_name: .rela.debug_varnames

sh_addr:0sh_flags:[ SHF_ALLOC ]

sh_size:0xc sh_type:[ SHT_RELA ]

sh_offset:0x3a7c sh_entsize: 0xc

sh_link:17 sh_info:15

sh_addralign: 0x4

Symbol Table Section: .symtab

indexvaluesizetype bind oth ver shndxname

[0] 0x00000000 0x00000000 NOTY LOCL D0 UNDEF

[1] 0x00000000 0x00000000 FILE LOCL D0 ABS ztty.c

[2] 0x00000000 0x00000000 SECT LOCL D0 .debug_info

[3] 0x00000000 0x00000000 SECT LOCL D0 .debug_abbr

[4] 0x00000000 0x00000000 SECT LOCL D0 .debug_line

[5] 0x00000000 0x00000000 SECT LOCL D0 .text

[6] 0x00000000 0x00000000 NOTY LOCL D0 .bssBbss.bss

[7] 0x00000000 0x00000000 NOTY LOCL D0 .dataDdata.data

[8] 0x00000000 0x00000000 NOTY LOCL D0 .picdataDpicdata.picdata

[9] 0x00000000 0x00000000 NOTY LOCL D0 .rodataDrodata.rodata

[10] 0x00000000 0x00000004 OBJT LOCL D0 .rodata1.L202

[11] 0x00000004 0x0000001c OBJT LOCL D0 .rodata1.L207

[12] 0x00000020 0x0000001c OBJT LOCL D0 .rodata1.L220

[13] 0x0000003c 0x00000010 OBJT LOCL D0 .rodata1.L228

[14] 0x0000004c 0x0000002c OBJT LOCL D0 .rodata1.L236

[15] 0x00000078 0x00000030 OBJT LOCL D0 .rodata1.L243

[16] 0x000000a8 0x00000018 OBJT LOCL D0 .rodata1.L245

[17] 0x000000c0 0x00000018 OBJT LOCL D0 .rodata1.L247

[18] 0x000000d8 0x00000018 OBJT LOCL D0 .rodata1.L249

[19] 0x000000f0 0x00000018 OBJT LOCL D0 .rodata1.L251

[20] 0x00000000 0x00000010 OBJT LOCL D0 .data1.L256

[21] 0x00000108 0x00000028 OBJT LOCL D0 .rodata1.L264

[22] 0x00000130 0x00000004 OBJT LOCL D0 .rodata1.L267

[23] 0x00000134 0x00000008 OBJT LOCL D0 .rodata1.L279

[24] 0x0000013c 0x00000008 OBJT LOCL D0 .rodata1.L287

[25] 0x00000144 0x00000008 OBJT LOCL D0 .rodata1.L295

[26] 0x0000014c 0x00000008 OBJT LOCL D0 .rodata1.L303

[27] 0x00000154 0x00000008 OBJT LOCL D0 .rodata1.L311

[28] 0x0000015c 0x00000008 OBJT LOCL D0 .rodata1.L319

[29] 0x00000164 0x00000008 OBJT LOCL D0 .rodata1.L327

[30] 0x0000016c 0x00000008 OBJT LOCL D0 .rodata1.L335

[31] 0x00000174 0x00000008 OBJT LOCL D0 .rodata1.L343

[32] 0x0000017c 0x00000008 OBJT LOCL D0 .rodata1.L351

[33] 0x00000184 0x00000008 OBJT LOCL D0 .rodata1.L359

[34] 0x0000018c 0x00000004 OBJT LOCL D0 .rodata1.L365

[35] 0x00000010 0x00000014 OBJT LOCL D0 .data1.L375

[36] 0x00000190 0x00000028 OBJT LOCL D0 .rodata1.L383

[37] 0x000001b8 0x00000004 OBJT LOCL D0 .rodata1.L386

[38] 0x000001bc 0x00000008 OBJT LOCL D0 .rodata1.L398

[39] 0x000001c4 0x00000008 OBJT LOCL D0 .rodata1.L406

[40] 0x000001cc 0x00000008 OBJT LOCL D0 .rodata1.L414

[41] 0x000001d4 0x00000008 OBJT LOCL D0 .rodata1.L422

[42] 0x000001dc 0x00000008 OBJT LOCL D0 .rodata1.L430

[43] 0x000001e4 0x00000008 OBJT LOCL D0 .rodata1.L438

[44] 0x000001ec 0x00000008 OBJT LOCL D0 .rodata1.L446

[45] 0x000001f4 0x00000008 OBJT LOCL D0 .rodata1.L454

[46] 0x000001fc 0x00000004 OBJT LOCL D0 .rodata1.L460

[47] 0x00000024 0x00000014 OBJT LOCL D0 .data1.L470

[48] 0x00000200 0x00000028 OBJT LOCL D0 .rodata1.L478

[49] 0x00000228 0x00000004 OBJT LOCL D0 .rodata1.L481

[50] 0x0000022c 0x00000008 OBJT LOCL D0 .rodata1.L493

[51] 0x00000234 0x00000008 OBJT LOCL D0 .rodata1.L501

[52] 0x0000023c 0x00000008 OBJT LOCL D0 .rodata1.L509

[53] 0x00000244 0x00000008 OBJT LOCL D0 .rodata1.L517

[54] 0x0000024c 0x00000008 OBJT LOCL D0 .rodata1.L525

[55] 0x00000254 0x00000008 OBJT LOCL D0 .rodata1.L533

[56] 0x0000025c 0x00000008 OBJT LOCL D0 .rodata1.L541

[57] 0x00000264 0x00000008 OBJT LOCL D0 .rodata1.L549

[58] 0x0000026c 0x00000004 OBJT LOCL D0 .rodata1.L557

[59] 0x00000270 0x00000004 OBJT LOCL D0 .rodata1.L565

[60] 0x00000274 0x00000008 OBJT LOCL D0 .rodata1.L573

[61] 0x0000027c 0x00000008 OBJT LOCL D0 .rodata1.L581

[62] 0x00000284 0x00000008 OBJT LOCL D0 .rodata1.L589

[63] 0x0000028c 0x00000008 OBJT LOCL D0 .rodata1.L597

[64] 0x00000294 0x00000008 OBJT LOCL D0 .rodata1.L605

[65] 0x0000029c 0x00000008 OBJT LOCL D0 .rodata1.L613

[66] 0x000002a4 0x00000004 OBJT LOCL D0 .rodata1.L619

[67] 0x00000038 0x00000010 OBJT LOCL D0 .data1.L629

[68] 0x000002a8 0x00000028 OBJT LOCL D0 .rodata1.L637

[69] 0x000002d0 0x00000004 OBJT LOCL D0 .rodata1.L640

[70] 0x000002d4 0x00000008 OBJT LOCL D0 .rodata1.L652

[71] 0x000002dc 0x00000008 OBJT LOCL D0 .rodata1.L660

[72] 0x000002e4 0x00000008 OBJT LOCL D0 .rodata1.L668

[73] 0x000002ec 0x00000008 OBJT LOCL D0 .rodata1.L676

[74] 0x000002f4 0x00000008 OBJT LOCL D0 .rodata1.L684

[75] 0x000002fc 0x00000008 OBJT LOCL D0 .rodata1.L692

[76] 0x00000304 0x00000008 OBJT LOCL D0 .rodata1.L700

[77] 0x0000030c 0x00000008 OBJT LOCL D0 .rodata1.L708

[78] 0x00000314 0x00000004 OBJT LOCL D0 .rodata1.L714

[79] 0x00000318 0x00000024 OBJT LOCL D0 .rodata1.L730

[80] 0x0000033c 0x00000030 OBJT LOCL D0 .rodata1.L737

[81] 0x0000036c 0x00000018 OBJT LOCL D0 .rodata1.L739

[82] 0x00000384 0x00000018 OBJT LOCL D0 .rodata1.L741

[83] 0x0000039c 0x00000018 OBJT LOCL D0 .rodata1.L743

[84] 0x000003b4 0x00000017 OBJT LOCL D0 .rodata1.L745

[85] 0x00000000 0x00000000 FUNC GLOB D0 UNDEFstrlen

[86] 0x00000000 0x00000000 FUNC GLOB D0 UNDEFfgets

[87] 0x00000ec0 0x0000006c FUNC GLOB D0 .textzttyreadc_

[88] 0x00000017 0x0000000b OBJT GLOB D0 .rodata$XBloEhGDY$lFmk3.zttyreadc_.__func__

[89] 0x00000000 0x00000000 FUNC GLOB D0 UNDEFfflush

[90] 0x00000000 0x00000000 FUNC GLOB D0 UNDEFfputs

[91] 0x00000e48 0x00000068 FUNC GLOB D0 .textzttywritec_

[92] 0x0000000b 0x0000000c OBJT GLOB D0 .rodata$XBloEhGDY$lFmk3.zttywritec_.__func__

[93] 0x00000000 0x00000000 FUNC GLOB D0 UNDEFtcsetattr

[94] 0x00000000 0x00000000 FUNC GLOB D0 UNDEFstrcmp

[95] 0x00000000 0x00000000 FUNC GLOB D0 UNDEFstrtok

[96] 0x00000000 0x00000000 FUNC GLOB D0 UNDEFgetenv

[97] 0x00000000 0x00000000 FUNC GLOB D0 UNDEFtcgetattr

[98] 0x00000000 0x00000000 FUNC GLOB D0 UNDEFprintf

[99] 0x00000000 0x00000000 FUNC GLOB D0 UNDEFopen

[100] 0x00000000 0x00000000 FUNC GLOB D0 UNDEFexit

[101] 0x00000000 0x00000000 FUNC GLOB D0 UNDEFfprintf

[102] 0x00000000 0x00000000 FUNC GLOB D0 UNDEFfopen

[103] 0x00000010 0x00000e28 FUNC GLOB D0 .textzopenterm_

[104] 0x00000004 0x00000004 OBJT GLOB D0 COMMONfd

[105] 0x00000000 0x00000000 NOTY GLOB D0 UNDEF__iob

[106] 0x00000004 0x00000004 OBJT GLOB D0 COMMONfp

[107] 0x00000000 0x0000000b OBJT GLOB D0 .rodata$XBloEhGDY$lFmk3.zopenterm_.__func__

[108] 0x00000000 0x00000035 OBJT GLOB D0 .data$XAloEhGDY$lFmk3.rcsid

[109] 0x00000000 0x00000000 NOTY GLOB D0 UNDEF_GLOBAL_OFFSET_TABLE_

Relocation Section: .rela.text

type offsetaddend sectionwith respect to

R_SPARC_PC220x180x4 .rela.text_GLOBAL_OFFSET_TABLE_

R_SPARC_PC100x1c0x8 .rela.text_GLOBAL_OFFSET_TABLE_

R_SPARC_GOT220x34 0 .rela.text.L202

R_SPARC_GOT100x38 0 .rela.text.L202

R_SPARC_WPLT300x44 0 .rela.textfopen

R_SPARC_GOT220x54 0 .rela.textfp

R_SPARC_GOT100x58 0 .rela.textfp

R_SPARC_GOT220x74 0 .rela.text__iob

R_SPARC_GOT100x78 0 .rela.text__iob

R_SPARC_GOT220x84 0 .rela.text.L207

R_SPARC_GOT100x88 0 .rela.text.L207

R_SPARC_WPLT300x9c 0 .rela.textfprintf

R_SPARC_WPLT300xa4 0 .rela.textexit

R_SPARC_WPLT300xb4 0 .rela.textopen

R_SPARC_GOT220xc4 0 .rela.textfd

R_SPARC_GOT100xc8 0 .rela.textfd

R_SPARC_GOT220xe4 0 .rela.text__iob

R_SPARC_GOT100xe8 0 .rela.text__iob

R_SPARC_GOT220xf4 0 .rela.text.L220

R_SPARC_GOT100xf8 0 .rela.text.L220

R_SPARC_WPLT300x10c 0 .rela.textfprintf

R_SPARC_WPLT300x114 0 .rela.textexit

R_SPARC_GOT220x124 0 .rela.text.L228

R_SPARC_GOT100x128 0 .rela.text.L228

R_SPARC_WPLT300x138 0 .rela.textprintf

R_SPARC_GOT220x140 0 .rela.textfd

R_SPARC_GOT100x144 0 .rela.textfd

R_SPARC_WPLT300x158 0 .rela.texttcgetattr

R_SPARC_GOT220x16c 0 .rela.text.L236

R_SPARC_GOT100x170 0 .rela.text.L236

R_SPARC_WPLT300x178 0 .rela.textprintf

R_SPARC_GOT220x188 0 .rela.text.L243

R_SPARC_GOT100x18c 0 .rela.text.L243

R_SPARC_WPLT300x194 0 .rela.textprintf

R_SPARC_GOT220x19c 0 .rela.text.L245

R_SPARC_GOT100x1a0 0 .rela.text.L245

R_SPARC_WPLT300x1b0 0 .rela.textprintf

R_SPARC_GOT220x1b8 0 .rela.text.L247

R_SPARC_GOT100x1bc 0 .rela.text.L247

R_SPARC_WPLT300x1cc 0 .rela.textprintf

R_SPARC_GOT220x1d4 0 .rela.text.L249

R_SPARC_GOT100x1d8 0 .rela.text.L249

R_SPARC_WPLT300x1e8 0 .rela.textprintf

R_SPARC_GOT220x1f0 0 .rela.text.L251

R_SPARC_GOT100x1f4 0 .rela.text.L251

R_SPARC_WPLT300x204 0 .rela.textprintf

R_SPARC_GOT220x20c 0 .rela.text.L256

R_SPARC_GOT100x210 0 .rela.text.L256

R_SPARC_WPLT300x218 0 .rela.textgetenv

R_SPARC_GOT220x234 0 .rela.text.L264

R_SPARC_GOT100x238 0 .rela.text.L264

R_SPARC_WPLT300x248 0 .rela.textprintf

R_SPARC_GOT220x258 0 .rela.text.L267

R_SPARC_GOT100x25c 0 .rela.text.L267

R_SPARC_WPLT300x268 0 .rela.textstrtok

R_SPARC_GOT220x288 0 .rela.text.L279

R_SPARC_GOT100x28c 0 .rela.text.L279

R_SPARC_WPLT300x298 0 .rela.textstrcmp

R_SPARC_GOT220x2bc 0 .rela.text.L287

R_SPARC_GOT100x2c0 0 .rela.text.L287

R_SPARC_WPLT300x2cc 0 .rela.textstrcmp

R_SPARC_GOT220x2f0 0 .rela.text.L295

R_SPARC_GOT100x2f4 0 .rela.text.L295

R_SPARC_WPLT300x300 0 .rela.textstrcmp

R_SPARC_GOT220x324 0 .rela.text.L303

R_SPARC_GOT100x328 0 .rela.text.L303

R_SPARC_WPLT300x334 0 .rela.textstrcmp

R_SPARC_GOT220x358 0 .rela.text.L311

R_SPARC_GOT100x35c 0 .rela.text.L311

R_SPARC_WPLT300x368 0 .rela.textstrcmp

R_SPARC_GOT220x38c 0 .rela.text.L319

R_SPARC_GOT100x390 0 .rela.text.L319

R_SPARC_WPLT300x39c 0 .rela.textstrcmp

R_SPARC_GOT220x3c0 0 .rela.text.L327

R_SPARC_GOT100x3c4 0 .rela.text.L327

R_SPARC_WPLT300x3d0 0 .rela.textstrcmp

R_SPARC_GOT220x3f4 0 .rela.text.L335

R_SPARC_GOT100x3f8 0 .rela.text.L335

R_SPARC_WPLT300x404 0 .rela.textstrcmp

R_SPARC_GOT220x428 0 .rela.text.L343

R_SPARC_GOT100x42c 0 .rela.text.L343

R_SPARC_WPLT300x438 0 .rela.textstrcmp

R_SPARC_GOT220x45c 0 .rela.text.L351

R_SPARC_GOT100x460 0 .rela.text.L351

R_SPARC_WPLT300x46c 0 .rela.textstrcmp

R_SPARC_GOT220x490 0 .rela.text.L359

R_SPARC_GOT100x494 0 .rela.text.L359

R_SPARC_WPLT300x4a0 0 .rela.textstrcmp

R_SPARC_GOT220x4c4 0 .rela.text.L365

R_SPARC_GOT100x4c8 0 .rela.text.L365

R_SPARC_WPLT300x4d4 0 .rela.textstrtok

R_SPARC_GOT220x4f0 0 .rela.text.L375

R_SPARC_GOT100x4f4 0 .rela.text.L375

R_SPARC_WPLT300x4fc 0 .rela.textgetenv

R_SPARC_GOT220x518 0 .rela.text.L383

R_SPARC_GOT100x51c 0 .rela.text.L383

R_SPARC_WPLT300x52c 0 .rela.textprintf

R_SPARC_GOT220x53c 0 .rela.text.L386

R_SPARC_GOT100x540 0 .rela.text.L386

R_SPARC_WPLT300x54c 0 .rela.textstrtok

R_SPARC_GOT220x56c 0 .rela.text.L398

R_SPARC_GOT100x570 0 .rela.text.L398

R_SPARC_WPLT300x57c 0 .rela.textstrcmp

R_SPARC_GOT220x5a0 0 .rela.text.L406

R_SPARC_GOT100x5a4 0 .rela.text.L406

R_SPARC_WPLT300x5b0 0 .rela.textstrcmp

R_SPARC_GOT220x5d4 0 .rela.text.L414

R_SPARC_GOT100x5d8 0 .rela.text.L414

R_SPARC_WPLT300x5e4 0 .rela.textstrcmp

R_SPARC_GOT220x608 0 .rela.text.L422

R_SPARC_GOT100x60c 0 .rela.text.L422

R_SPARC_WPLT300x618 0 .rela.textstrcmp

R_SPARC_GOT220x63c 0 .rela.text.L430

R_SPARC_GOT100x640 0 .rela.text.L430

R_SPARC_WPLT300x64c 0 .rela.textstrcmp

R_SPARC_GOT220x670 0 .rela.text.L438

R_SPARC_GOT100x674 0 .rela.text.L438

R_SPARC_WPLT300x680 0 .rela.textstrcmp

R_SPARC_GOT220x6a4 0 .rela.text.L446

R_SPARC_GOT100x6a8 0 .rela.text.L446

R_SPARC_WPLT300x6b4 0 .rela.textstrcmp

R_SPARC_GOT220x6d8 0 .rela.text.L454

R_SPARC_GOT100x6dc 0 .rela.text.L454

R_SPARC_WPLT300x6e8 0 .rela.textstrcmp

R_SPARC_GOT220x708 0 .rela.text.L460

R_SPARC_GOT100x70c 0 .rela.text.L460

R_SPARC_WPLT300x718 0 .rela.textstrtok

R_SPARC_GOT220x734 0 .rela.text.L470

R_SPARC_GOT100x738 0 .rela.text.L470

R_SPARC_WPLT300x740 0 .rela.textgetenv

R_SPARC_GOT220x75c 0 .rela.text.L478

R_SPARC_GOT100x760 0 .rela.text.L478

R_SPARC_WPLT300x770 0 .rela.textprintf

R_SPARC_GOT220x780 0 .rela.text.L481

R_SPARC_GOT100x784 0 .rela.text.L481

R_SPARC_WPLT300x790 0 .rela.textstrtok

R_SPARC_GOT220x7b0 0 .rela.text.L493

R_SPARC_GOT100x7b4 0 .rela.text.L493

R_SPARC_WPLT300x7c0 0 .rela.textstrcmp

R_SPARC_GOT220x7e4 0 .rela.text.L501

R_SPARC_GOT100x7e8 0 .rela.text.L501

R_SPARC_WPLT300x7f4 0 .rela.textstrcmp

R_SPARC_GOT220x818 0 .rela.text.L509

R_SPARC_GOT100x81c 0 .rela.text.L509

R_SPARC_WPLT300x828 0 .rela.textstrcmp

R_SPARC_GOT220x84c 0 .rela.text.L517

R_SPARC_GOT100x850 0 .rela.text.L517

R_SPARC_WPLT300x85c 0 .rela.textstrcmp

R_SPARC_GOT220x880 0 .rela.text.L525

R_SPARC_GOT100x884 0 .rela.text.L525

R_SPARC_WPLT300x890 0 .rela.textstrcmp

R_SPARC_GOT220x8b4 0 .rela.text.L533

R_SPARC_GOT100x8b8 0 .rela.text.L533

R_SPARC_WPLT300x8c4 0 .rela.textstrcmp

R_SPARC_GOT220x8e8 0 .rela.text.L541

R_SPARC_GOT100x8ec 0 .rela.text.L541

R_SPARC_WPLT300x8f8 0 .rela.textstrcmp

R_SPARC_GOT220x91c 0 .rela.text.L549

R_SPARC_GOT100x920 0 .rela.text.L549

R_SPARC_WPLT300x92c 0 .rela.textstrcmp

R_SPARC_GOT220x950 0 .rela.text.L557

R_SPARC_GOT100x954 0 .rela.text.L557

R_SPARC_WPLT300x960 0 .rela.textstrcmp

R_SPARC_GOT220x984 0 .rela.text.L565

R_SPARC_GOT100x988 0 .rela.text.L565

R_SPARC_WPLT300x994 0 .rela.textstrcmp

R_SPARC_GOT220x9b8 0 .rela.text.L573

R_SPARC_GOT100x9bc 0 .rela.text.L573

R_SPARC_WPLT300x9c8 0 .rela.textstrcmp

R_SPARC_GOT220x9ec 0 .rela.text.L581

R_SPARC_GOT100x9f0 0 .rela.text.L581

R_SPARC_WPLT300x9fc 0 .rela.textstrcmp

R_SPARC_GOT220xa20 0 .rela.text.L589

R_SPARC_GOT100xa24 0 .rela.text.L589

R_SPARC_WPLT300xa30 0 .rela.textstrcmp

R_SPARC_GOT220xa54 0 .rela.text.L597

R_SPARC_GOT100xa58 0 .rela.text.L597

R_SPARC_WPLT300xa64 0 .rela.textstrcmp

R_SPARC_GOT220xa88 0 .rela.text.L605

R_SPARC_GOT100xa8c 0 .rela.text.L605

R_SPARC_WPLT300xa98 0 .rela.textstrcmp

R_SPARC_GOT220xabc 0 .rela.text.L613

R_SPARC_GOT100xac0 0 .rela.text.L613

R_SPARC_WPLT300xacc 0 .rela.textstrcmp

R_SPARC_GOT220xaec 0 .rela.text.L619

R_SPARC_GOT100xaf0 0 .rela.text.L619

R_SPARC_WPLT300xafc 0 .rela.textstrtok

R_SPARC_GOT220xb18 0 .rela.text.L629

R_SPARC_GOT100xb1c 0 .rela.text.L629

R_SPARC_WPLT300xb24 0 .rela.textgetenv

R_SPARC_GOT220xb40 0 .rela.text.L637

R_SPARC_GOT100xb44 0 .rela.text.L637

R_SPARC_WPLT300xb54 0 .rela.textprintf

R_SPARC_GOT220xb64 0 .rela.text.L640

R_SPARC_GOT100xb68 0 .rela.text.L640

R_SPARC_WPLT300xb74 0 .rela.textstrtok

R_SPARC_GOT220xb94 0 .rela.text.L652

R_SPARC_GOT100xb98 0 .rela.text.L652

R_SPARC_WPLT300xba4 0 .rela.textstrcmp

R_SPARC_GOT220xbc8 0 .rela.text.L660

R_SPARC_GOT100xbcc 0 .rela.text.L660

R_SPARC_WPLT300xbd8 0 .rela.textstrcmp

R_SPARC_GOT220xbfc 0 .rela.text.L668

R_SPARC_GOT100xc00 0 .rela.text.L668

R_SPARC_WPLT300xc0c 0 .rela.textstrcmp

R_SPARC_GOT220xc30 0 .rela.text.L676

R_SPARC_GOT100xc34 0 .rela.text.L676

R_SPARC_WPLT300xc40 0 .rela.textstrcmp

R_SPARC_GOT220xc64 0 .rela.text.L684

R_SPARC_GOT100xc68 0 .rela.text.L684

R_SPARC_WPLT300xc74 0 .rela.textstrcmp

R_SPARC_GOT220xc98 0 .rela.text.L692

R_SPARC_GOT100xc9c 0 .rela.text.L692

R_SPARC_WPLT300xca8 0 .rela.textstrcmp

R_SPARC_GOT220xccc 0 .rela.text.L700

R_SPARC_GOT100xcd0 0 .rela.text.L700

R_SPARC_WPLT300xcdc 0 .rela.textstrcmp

R_SPARC_GOT220xd00 0 .rela.text.L708

R_SPARC_GOT100xd04 0 .rela.text.L708

R_SPARC_WPLT300xd10 0 .rela.textstrcmp

R_SPARC_GOT220xd30 0 .rela.text.L714

R_SPARC_GOT100xd34 0 .rela.text.L714

R_SPARC_WPLT300xd40 0 .rela.textstrtok

R_SPARC_GOT220xd5c 0 .rela.textfd

R_SPARC_GOT100xd60 0 .rela.textfd

R_SPARC_WPLT300xd7c 0 .rela.texttcsetattr

R_SPARC_GOT220xd90 0 .rela.text.L730

R_SPARC_GOT100xd94 0 .rela.text.L730

R_SPARC_WPLT300xd9c 0 .rela.textprintf

R_SPARC_GOT220xdac 0 .rela.text.L737

R_SPARC_GOT100xdb0 0 .rela.text.L737

R_SPARC_WPLT300xdb8 0 .rela.textprintf

R_SPARC_GOT220xdc0 0 .rela.text.L739

R_SPARC_GOT100xdc4 0 .rela.text.L739

R_SPARC_WPLT300xdd4 0 .rela.textprintf

R_SPARC_GOT220xddc 0 .rela.text.L741

R_SPARC_GOT100xde0 0 .rela.text.L741

R_SPARC_WPLT300xdf0 0 .rela.textprintf

R_SPARC_GOT220xdf8 0 .rela.text.L743

R_SPARC_GOT100xdfc 0 .rela.text.L743

R_SPARC_WPLT300xe0c 0 .rela.textprintf

R_SPARC_GOT220xe14 0 .rela.text.L745

R_SPARC_GOT100xe18 0 .rela.text.L745

R_SPARC_WPLT300xe28 0 .rela.textprintf

R_SPARC_PC220xe500x4 .rela.text_GLOBAL_OFFSET_TABLE_

R_SPARC_PC100xe540x8 .rela.text_GLOBAL_OFFSET_TABLE_

R_SPARC_GOT220xe6c 0 .rela.textfp

R_SPARC_GOT100xe70 0 .rela.textfp

R_SPARC_WPLT300xe80 0 .rela.textfputs

R_SPARC_GOT220xe8c 0 .rela.textfp

R_SPARC_GOT100xe90 0 .rela.textfp

R_SPARC_WPLT300xe9c 0 .rela.textfflush

R_SPARC_PC220xec80x4 .rela.text_GLOBAL_OFFSET_TABLE_

R_SPARC_PC100xecc0x8 .rela.text_GLOBAL_OFFSET_TABLE_

R_SPARC_GOT220xee4 0 .rela.textfp

R_SPARC_GOT100xee8 0 .rela.textfp

R_SPARC_WPLT300xefc 0 .rela.textfgets

R_SPARC_WPLT300xf08 0 .rela.textstrlen

Relocation Section: .rela.debug_info

type offsetaddend sectionwith respect to

R_SPARC_UA32 0x6 0 .rela.debug_in .debug_abbre (section)

R_SPARC_UA320x14d 0 .rela.debug_in .debug_line (section)

R_SPARC_UA320x197 0 .rela.debug_in $XAloEhGDY$lFmk3.rcsid

R_SPARC_UA320x1d3 0 .rela.debug_in $XAloEhGDY$lFmk3.rcsid

R_SPARC_UA320x1e7 0 .rela.debug_in zopenterm_

R_SPARC_UA320x1eb0xe30 .rela.debug_in .text (section)

R_SPARC_UA320x27a 0 .rela.debug_in $XBloEhGDY$lFmk3.zopenterm_.__func__

R_SPARC_UA320x28e0x30 .rela.debug_in .text (section)

R_SPARC_UA320x2920xac .rela.debug_in .text (section)

R_SPARC_UA320x2970x74 .rela.debug_in .text (section)

R_SPARC_UA320x29b0xac .rela.debug_in .text (section)

R_SPARC_UA320x2a00x74 .rela.debug_in .text (section)

R_SPARC_UA320x2a40xac .rela.debug_in .text (section)

R_SPARC_UA320x391 0 .rela.debug_in zttywritec_

R_SPARC_UA320x3950xea8 .rela.debug_in .text (section)

R_SPARC_UA320x3fd 0 .rela.debug_in $XBloEhGDY$lFmk3.zttywritec_.__func__

R_SPARC_UA320x428 0 .rela.debug_in zttyreadc_

R_SPARC_UA320x42c0xf24 .rela.debug_in .text (section)

R_SPARC_UA320x492 0 .rela.debug_in $XBloEhGDY$lFmk3.zttyreadc_.__func__

R_SPARC_UA320x4bb 0 .rela.debug_in fd

R_SPARC_UA320x58e 0 .rela.debug_in fp

Relocation Section: .rela.debug_line

type offsetaddend sectionwith respect to

R_SPARC_UA320x8c 0 .rela.debug_li zopenterm_

R_SPARC_UA320x132 0 .rela.debug_li zttywritec_

R_SPARC_UA320x140 0 .rela.debug_li zttyreadc_

Relocation Section: .rela.debug_pubnames

type offsetaddend sectionwith respect to

R_SPARC_UA32 0x6 0 .rela.debug_pu .debug_info (section)

Relocation Section: .rela.debug_typenames

type offsetaddend sectionwith respect to

R_SPARC_UA32 0x6 0 .rela.debug_ty .debug_info (section)

Relocation Section: .rela.debug_varnames

type offsetaddend sectionwith respect to

R_SPARC_UA32 0x6 0 .rela.debug_va .debug_info (section)

jgeorgesona at 2007-7-7 15:07:26 > top of Java-index,Archived Forums,Socket Programming...
# 5

The "fp" symbol is causing problems. I don't know why the linker

doesn't want to resolve the address of that symbol. Can you run your

final link step with linker tracing turned on? And email me the compressed

output? (chris.quenelle@sun.com)

Here's an example that I was trying it out on.

% LD_OPTIONS=-Dreloc,symbols,detail cc t.o mylib.a > edebug 2>&1

If you search for "fp" in the output, the linker will show how

that symbol is being resolved.

ChrisQuenellea at 2007-7-7 15:07:26 > top of Java-index,Archived Forums,Socket Programming...
# 6
I'm working in email with jgeorgeson to resolve this. I'm trying to make a test case.
ChrisQuenellea at 2007-7-7 15:07:26 > top of Java-index,Archived Forums,Socket Programming...