diff options
author | H.J. Lu <hjl@lucon.org> | 2007-09-01 06:09:20 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2007-09-01 06:09:20 +0000 |
commit | 19610da66e2da3f2314d8b0481cbceef4070d3ac (patch) | |
tree | 3faf1b1d1b8dbdd731b808dd8112111b2b00d0bd /bfd/dwarf2.c | |
parent | fb7cc2ab6c33bc9e2f88cd4218f3dce594245b01 (diff) | |
download | gdb-19610da66e2da3f2314d8b0481cbceef4070d3ac.tar.gz |
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 37d68f9b9e6..7f5f3974a33 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))); } |