diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2007-09-01 06:09:20 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2007-09-01 06:09:20 +0000 |
commit | 399347457c16712c193406d56fe31287d2f2afa6 (patch) | |
tree | c15ca99f43f4a5195ee70d79104e8fc368e631af /bfd/dwarf2.c | |
parent | 7f3e0549a5aaabd13f4191fc81739fa657e35843 (diff) | |
download | gdb-399347457c16712c193406d56fe31287d2f2afa6.zip gdb-399347457c16712c193406d56fe31287d2f2afa6.tar.gz gdb-399347457c16712c193406d56fe31287d2f2afa6.tar.bz2 |
bfd/
2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
PR ld/4986
* dwarf2.c (new_line_sorts_after): Also compare line number.
ld/testsuite/
2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
PR ld/4986
* ld-x86-64/line.exp: New
* ld-x86-64/undefined.s: Likewise.
Diffstat (limited to 'bfd/dwarf2.c')
-rw-r--r-- | bfd/dwarf2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c index 37d68f9..7f5f397 100644 --- a/bfd/dwarf2.c +++ b/bfd/dwarf2.c @@ -917,7 +917,8 @@ new_line_sorts_after (struct line_info *new_line, struct line_info *line) { return (new_line->address > line->address || (new_line->address == line->address - && new_line->end_sequence < line->end_sequence)); + && (new_line->line > line->line + || new_line->end_sequence < line->end_sequence))); } |