{"push_id":883941282,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"42bcef4ad646732e0684557fe08b74dd0c5aa7e9","before":"bc301448c07afbf8aa70f2808be68dc8c50c9098","commits":[{"sha":"42bcef4ad646732e0684557fe08b74dd0c5aa7e9","author":{"email":"73f46fa54e57e834aa9e13887532977467ddb664@embecosm.com","name":"Andrew Burgess"},"message":"objdump: Handle 32-bit base address in debug_ranges / debug_loc.\n\nWhen the DWARF address size is 32-bit, but the host machine is 64-bit,\nobjdump fails to spot base addresses specified in the .debug_ranges and\n.debug_loc lists.\n\nAs an example, here is the output when dumping an example .debug_ranges\nsection with the pre-patched objdump:\n\n    Contents of the .debug_ranges section:\n\n        Offset   Begin    End\n        00000000 ffffffff 00000004 (start > end)\n        00000000 00000000 00000004\n        00000000 ffffffff 00000008 (start > end)\n        00000000 00000000 00000004\n        00000000 <End of list>\n\nAnd this is what the same section looks like when dumped with the\npatched version of objdump:\n\n    Contents of the .debug_ranges section:\n\n        Offset   Begin    End\n        00000000 ffffffff 00000004 (base address)\n        00000000 00000004 00000008\n        00000000 ffffffff 00000008 (base address)\n        00000000 00000008 0000000c\n        00000000 <End of list>\n\nbinutils/ChangeLog:\n\n\t* dwarf.c (is_max_address): New function.\n\t(display_loc_list): Remove out of date comment, use\n\tis_max_address.\n\t(display_debug_ranges): Likewise.\n\nbinutils/testsuite/ChangeLog:\n\n\t* binutils-all/objdump.exp: Add test for .debug_ranges decode.\n\t* binutils-all/dw2-ranges.S: New file.\n\t* binutils-all/dw2-ranges.W: New file.","distinct":true,"url":"https://api.github.com/repos/wallento/binutils-gdb/commits/42bcef4ad646732e0684557fe08b74dd0c5aa7e9"}]}