| Red Hat Documentation |
|
offset-info option
This option will output, to the specified output-file, an assembler directive, .equ, for each member of each structure found in each manipulation. The .equ directives for the structures in the header file can be obtained by using the following input: gcc -fsyntax-only -offset-info m.s -x c m.h. m.h is the header containing the structures, and m.s holds the directives. The following is a short example of output produced by -offset-info. input file (for example m.h):
struct W {
double d;
int I;
};
struct X {
int a;
int b;
struct Y {
int a;
int b;
};
struct Y y;
struct Y yy[10];
struct Y* p;
}
output file (for example m.s):
.equ W_d,0
.equ W_i,8
.equ Y_a,0
.equ Y_b,4
.equ X_a,0
.equ X_b,4
.equ X_y,8
.equ X_yy,16
.equ X_p,96
-fargument-alias specifies that arguments (parameters) may alias each other and may alias global storage. -fargument-noalias specifies that arguments do not alias each other, but may alias global storage. -fargument-noalias-global specifies that arguments do not alias each other and do not alias global storage. Each language will automatically use whatever option is required by the language standard. You should not need to use these options yourself. |
|
© 2001 Red Hat, Inc. All rights reserved. About Red Hat : Legal statement : Privacy statement : Y2K statement : Contact Red Hat |