This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

libf2c compatibility???




Does anyone in this mailing list know how certain data structure are initiliazed
in a g77 generated object?
  I am talking about data structure that is associated with namelist.  Those
data structure are basically
  defined in libf2c?


Someone has mentioned that a static variable is stored in the data segment with
static linkage, how
is g77 or gcc implementating that kind of variables along with global variables
and stack variables?


In g77 a namelist variable might be declared like that in a g77 generated
assembly program:

LC1:
    .ascii "MASS\0"
.data
    .align 4
___g77_vardesc_1.18:
    .long LC1
    .long _mass.2
    .long 0
    .long 5
.text

I am assuming the code segment above include type information and something to
do with the Vardesc structure
defined in libf2c or libg2c.

Please help me!!!!!!!!!!! Who wrote g77 and libf2c anyway?


Thanks



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]