mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 00:59:15 +08:00
Do not pass section index to end_compunit_symtab
Right now, the section index passed to end_compunit_symtab is always SECT_OFF_TEXT. Remove this parameter and simply always use SECT_OFF_TEXT.
This commit is contained in:
@ -327,12 +327,11 @@ struct buildsym_compunit
|
||||
(CORE_ADDR end_addr, int expandable, int required);
|
||||
|
||||
struct compunit_symtab *end_compunit_symtab_from_static_block
|
||||
(struct block *static_block, int section, int expandable);
|
||||
(struct block *static_block, int expandable);
|
||||
|
||||
struct compunit_symtab *end_compunit_symtab (CORE_ADDR end_addr, int section);
|
||||
struct compunit_symtab *end_compunit_symtab (CORE_ADDR end_addr);
|
||||
|
||||
struct compunit_symtab *end_expandable_symtab (CORE_ADDR end_addr,
|
||||
int section);
|
||||
struct compunit_symtab *end_expandable_symtab (CORE_ADDR end_addr);
|
||||
|
||||
void augment_type_symtab ();
|
||||
|
||||
@ -352,7 +351,7 @@ private:
|
||||
void watch_main_source_file_lossage ();
|
||||
|
||||
struct compunit_symtab *end_compunit_symtab_with_blockvector
|
||||
(struct block *static_block, int section, int expandable);
|
||||
(struct block *static_block, int expandable);
|
||||
|
||||
/* The objfile we're reading debug info from. */
|
||||
struct objfile *m_objfile;
|
||||
|
Reference in New Issue
Block a user