[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/18317] New: objdump -W fails to handle elf32-mep
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug binutils/18317] New: objdump -W fails to handle elf32-mep |
Date: |
Fri, 24 Apr 2015 12:37:24 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=18317
Bug ID: 18317
Summary: objdump -W fails to handle elf32-mep
Product: binutils
Version: 2.26 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
address@hidden binutils]$ ../gas/as-new -o x.o
/export/gnu/import/git/sources/binutils-gdb/binutils/testsuite/binutils-all/dw2-1.S
address@hidden binutils]$ ./objdump -W x.o > address@hidden binutils]$
./readelf -w x.o > 2
address@hidden binutils]$ diff -up 1 2
--- 1 2015-04-24 05:36:47.807462881 -0700
+++ 2 2015-04-24 05:36:55.928630935 -0700
@@ -1,6 +1,3 @@
-
-x.o: file format elf32-mep-little
-
Contents of the .debug_info section:
Compilation Unit @ offset 0x0:
@@ -10,8 +7,8 @@ Contents of the .debug_info section:
Pointer Size: 4
<0><b>: Abbrev Number: 1 (DW_TAG_compile_unit)
<c> DW_AT_stmt_list : 0x0
- <10> DW_AT_high_pc : 0x0
- <14> DW_AT_low_pc : 0x0
+ <10> DW_AT_high_pc : 0x8
+ <14> DW_AT_low_pc : 0x4
<18> DW_AT_name : file1.txt
<22> DW_AT_producer : GNU C 3.3.3
<2e> DW_AT_language : 1 (ANSI C)
@@ -21,8 +18,8 @@ Contents of the .debug_info section:
<32> DW_AT_decl_line : 2
<33> DW_AT_name : func_cu1
<3c> DW_AT_type : <0x4a>
- <40> DW_AT_low_pc : 0x0
- <44> DW_AT_high_pc : 0x0
+ <40> DW_AT_low_pc : 0x4
+ <44> DW_AT_high_pc : 0x8
<48> DW_AT_frame_base : 1 byte block: 55 (DW_OP_reg5 (r5))
<1><4a>: Abbrev Number: 3 (DW_TAG_base_type)
<4b> DW_AT_name : int
@@ -66,11 +63,11 @@ Raw dump of debug contents of section .d
1 0 0 0 file1.txt
Line Number Statements:
- [0x0000002d] Extended opcode 2: set Address to 0x0
+ [0x0000002d] Extended opcode 2: set Address to 0x4
[0x00000034] Advance Line by 3 to 4
[0x00000036] Copy
[0x00000037] Copy
- [0x00000038] Extended opcode 2: set Address to 0x0
+ [0x00000038] Extended opcode 2: set Address to 0x8
[0x0000003f] Extended opcode 1: End of Sequence
address@hidden binutils]$
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/18317] New: objdump -W fails to handle elf32-mep,
hjl.tools at gmail dot com <=