* mipsread.c (compare_blocks): Sort blocks with the same start

address by decreasing ending address.
This commit is contained in:
Ian Lance Taylor 1993-03-22 20:41:20 +00:00
parent 1a3579dfb1
commit 5f5341a71f
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Mon Mar 22 12:36:24 1993 Ian Lance Taylor (ian@cygnus.com)
* mipsread.c (compare_blocks): Sort blocks with the same start
address by decreasing ending address.
Mon Mar 22 20:36:04 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* mipsread.c (parse_procedure): Save cur_fdr accross call to

View File

@ -2853,7 +2853,7 @@ compare_blocks (arg1, arg2)
addr_diff = (BLOCK_START ((*b1))) - (BLOCK_START ((*b2)));
if (addr_diff == 0)
return (BLOCK_END ((*b1))) - (BLOCK_END ((*b2)));
return (BLOCK_END ((*b2))) - (BLOCK_END ((*b1)));
return addr_diff;
}