Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Vivek Das Mohapatra
binutils-gdb
Commits
6576f0b5
Commit
6576f0b5
authored
Jun 03, 1999
by
Richard Henderson
Browse files
* dwarf2dbg.c (dwarf2_gen_line_info): Use section_symbol
instead of doing the work by hand.
parent
fac0d250
Changes
2
Hide whitespace changes
Inline
Side-by-side
gas/ChangeLog
View file @
6576f0b5
1999-06-03 Richard Henderson <rth@cygnus.com>
* dwarf2dbg.c (dwarf2_gen_line_info): Use section_symbol
instead of doing the work by hand.
1999-06-03 David Mosberger <davidm@hpl.hp.com>
* dwarf2dbg.c (INITIAL_STATE): New macro encapsulating initial
...
...
gas/dwarf2dbg.c
View file @
6576f0b5
...
...
@@ -371,15 +371,11 @@ dwarf2_gen_line_info (bfd_vma addr, struct dwarf2_line_info *l)
if
(
!
ls
.
line_seg
)
{
symbolS
*
secsym
;
ls
.
line_seg
=
subseg_get
(
".debug_line"
,
DL_BODY
);
ls
.
line_seg
=
subseg_new
(
".debug_line"
,
0
);
bfd_set_section_flags
(
stdoutput
,
ls
.
line_seg
,
SEC_READONLY
);
secsym
=
symbol_find
(
".debug_line"
);
if
(
secsym
)
secsym
->
bsym
=
ls
.
line_seg
->
symbol
;
else
symbol_table_insert
(
section_symbol
(
ls
.
line_seg
));
/* We're going to need this symbol. */
(
void
)
section_symbol
(
ls
.
line_seg
);
}
saved_seg
=
now_seg
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment