Previous: , Up: Program Structure   [Contents][Index]


2.8 Alternate Entry Points

Some languages, like Fortran, have the ability to enter procedures at some place other than the beginning. One can declare an alternate entry point. The N_ENTRY stab is for this; however, the Sun FORTRAN compiler doesn’t use it. According to AIX documentation, only the name of a C_ENTRY stab is significant; the address of the alternate entry point comes from the corresponding external symbol. A previous revision of this document said that the value of an N_ENTRY stab was the address of the alternate entry point, but I don’t know the source for that information.