* xcoffread.c (xcoff_end_psymtab): Add textlow_not_set parameter.
(END_PSYMTAB): Ditto. (scan_xcoff_symtab): Call xcoff_end_psymtab with textlow_not_set.
This commit is contained in:
parent
b223f95038
commit
68aadb901e
2 changed files with 17 additions and 11 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
Sat Jul 27 08:49:49 1996 Fred Fish <fnf@cygnus.com>
|
||||||
|
|
||||||
|
* xcoffread.c (xcoff_end_psymtab): Add textlow_not_set parameter.
|
||||||
|
(END_PSYMTAB): Ditto.
|
||||||
|
(scan_xcoff_symtab): Call xcoff_end_psymtab with textlow_not_set.
|
||||||
|
|
||||||
Fri Jul 26 14:07:37 1996 Ian Lance Taylor <ian@cygnus.com>
|
Fri Jul 26 14:07:37 1996 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
* printcmd.c (_initialize_printcmd): Initialize
|
* printcmd.c (_initialize_printcmd): Initialize
|
||||||
|
|
|
@ -1977,7 +1977,7 @@ xcoff_start_psymtab (objfile, section_offsets,
|
||||||
|
|
||||||
static struct partial_symtab *xcoff_end_psymtab
|
static struct partial_symtab *xcoff_end_psymtab
|
||||||
PARAMS ((struct partial_symtab *, char **, int, int,
|
PARAMS ((struct partial_symtab *, char **, int, int,
|
||||||
struct partial_symtab **, int));
|
struct partial_symtab **, int, int));
|
||||||
|
|
||||||
/* Close off the current usage of PST.
|
/* Close off the current usage of PST.
|
||||||
Returns PST, or NULL if the partial symtab was empty and thrown away.
|
Returns PST, or NULL if the partial symtab was empty and thrown away.
|
||||||
|
@ -1989,13 +1989,14 @@ static struct partial_symtab *xcoff_end_psymtab
|
||||||
|
|
||||||
static struct partial_symtab *
|
static struct partial_symtab *
|
||||||
xcoff_end_psymtab (pst, include_list, num_includes, capping_symbol_number,
|
xcoff_end_psymtab (pst, include_list, num_includes, capping_symbol_number,
|
||||||
dependency_list, number_dependencies)
|
dependency_list, number_dependencies, textlow_not_set)
|
||||||
struct partial_symtab *pst;
|
struct partial_symtab *pst;
|
||||||
char **include_list;
|
char **include_list;
|
||||||
int num_includes;
|
int num_includes;
|
||||||
int capping_symbol_number;
|
int capping_symbol_number;
|
||||||
struct partial_symtab **dependency_list;
|
struct partial_symtab **dependency_list;
|
||||||
int number_dependencies;
|
int number_dependencies;
|
||||||
|
int textlow_not_set;
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
struct objfile *objfile = pst -> objfile;
|
struct objfile *objfile = pst -> objfile;
|
||||||
|
@ -2278,10 +2279,9 @@ scan_xcoff_symtab (section_offsets, objfile)
|
||||||
each program csect, because their text
|
each program csect, because their text
|
||||||
sections need not be adjacent. */
|
sections need not be adjacent. */
|
||||||
xcoff_end_psymtab
|
xcoff_end_psymtab
|
||||||
(pst, psymtab_include_list,
|
(pst, psymtab_include_list, includes_used,
|
||||||
includes_used,
|
symnum_before, dependency_list,
|
||||||
symnum_before,
|
dependencies_used, textlow_not_set);
|
||||||
dependency_list, dependencies_used);
|
|
||||||
includes_used = 0;
|
includes_used = 0;
|
||||||
dependencies_used = 0;
|
dependencies_used = 0;
|
||||||
/* Give all psymtabs for this source file the same
|
/* Give all psymtabs for this source file the same
|
||||||
|
@ -2443,8 +2443,8 @@ scan_xcoff_symtab (section_offsets, objfile)
|
||||||
if (pst)
|
if (pst)
|
||||||
{
|
{
|
||||||
xcoff_end_psymtab (pst, psymtab_include_list, includes_used,
|
xcoff_end_psymtab (pst, psymtab_include_list, includes_used,
|
||||||
symnum_before,
|
symnum_before, dependency_list,
|
||||||
dependency_list, dependencies_used);
|
dependencies_used, textlow_not_set);
|
||||||
includes_used = 0;
|
includes_used = 0;
|
||||||
dependencies_used = 0;
|
dependencies_used = 0;
|
||||||
}
|
}
|
||||||
|
@ -2556,7 +2556,7 @@ scan_xcoff_symtab (section_offsets, objfile)
|
||||||
called from DBXREAD_ONLY or N_SO code. Likewise for the symnum
|
called from DBXREAD_ONLY or N_SO code. Likewise for the symnum
|
||||||
variable. */
|
variable. */
|
||||||
#define START_PSYMTAB(ofile,secoff,fname,low,symoff,global_syms,static_syms) 0
|
#define START_PSYMTAB(ofile,secoff,fname,low,symoff,global_syms,static_syms) 0
|
||||||
#define END_PSYMTAB(pst,ilist,ninc,c_off,c_text,dep_list,n_deps)\
|
#define END_PSYMTAB(pst,ilist,ninc,c_off,c_text,dep_list,n_deps,textlow_not_set)\
|
||||||
do {} while (0)
|
do {} while (0)
|
||||||
/* We have already set the namestring. */
|
/* We have already set the namestring. */
|
||||||
#define SET_NAMESTRING() /* */
|
#define SET_NAMESTRING() /* */
|
||||||
|
@ -2568,8 +2568,8 @@ scan_xcoff_symtab (section_offsets, objfile)
|
||||||
if (pst)
|
if (pst)
|
||||||
{
|
{
|
||||||
xcoff_end_psymtab (pst, psymtab_include_list, includes_used,
|
xcoff_end_psymtab (pst, psymtab_include_list, includes_used,
|
||||||
ssymnum,
|
ssymnum, dependency_list,
|
||||||
dependency_list, dependencies_used);
|
dependencies_used, textlow_not_set);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Record the toc offset value of this symbol table into ldinfo structure.
|
/* Record the toc offset value of this symbol table into ldinfo structure.
|
||||||
|
|
Loading…
Reference in a new issue