Add support to GDB for the Renesas rl78 architecture.
[external/binutils.git] / gas / testsuite / gas / mmix / comment-1.d
index 7c91eb9..75b69bf 100644 (file)
@@ -1,60 +1,37 @@
 #as: -no-expand
 #readelf: -Ssrx1 -x6
-
-There are 10 section headers, starting at offset 0x130:
-
-Section Headers:
-  \[Nr\] Name              Type             Address           Offset
-       Size              EntSize          Flags  Link  Info  Align
-  \[ 0\]                   NULL             0+  0+
-       0+  0+           0     0     0
-  \[ 1\] \.text             PROGBITS         0+  0+40
-       0+88  0+  AX       0     0     8
-  \[ 2\] \.rela\.text        RELA             0+  0+4f8
-       0+78  0+18           8     1     8
-  \[ 3\] \.data             PROGBITS         0+  0+c8
-       0+  0+  WA       0     0     1
-  \[ 4\] \.bss              NOBITS           0+  0+c8
-       0+  0+  WA       0     0     1
-  \[ 5\] \.MMIX\.spec_data\.4 PROGBITS         0+  0+c8
-       0+  0+           0     0     1
-  \[ 6\] \.MMIX\.reg_content PROGBITS         0+  0+c8
-       0+8  0+   W       0     0     1
-  \[ 7\] \.shstrtab         STRTAB           0+  0+d0
-       0+5d  0+           0     0     1
-  \[ 8\] \.symtab           SYMTAB           0+  0+3b0
-       0+120  0+18           9     8     8
-  \[ 9\] \.strtab           STRTAB           0+  0+4d0
-       0+21  0+           0     0     1
-Key to Flags:
-  W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\)
-  I \(info\), L \(link order\), G \(group\), x \(unknown\)
-  O \(extra OS processing required\) o \(OS specific\), p \(processor specific\)
-
-Relocation section '\.rela\.text' at offset 0x4f8 contains 5 entries:
-[      ]+Offset[       ]+Info[         ]+Type[         ]+Symbol's Value[       ]+Symbol's Name[        ]+Addend
-0+34  0+90000001e R_MMIX_ADDR19         0+  target                    \+ 2c
-0+46  0+a00000002 R_MMIX_16             0+  target2                   \+ 30
-0+48  0+b0000001f R_MMIX_ADDR27         0+  target3                   \+ 38
-0+54  0+b0000001e R_MMIX_ADDR19         0+  target3                   \+ 0
-0+78  0+23 R_MMIX_LOCAL                                   0+30
+There are 10 section headers, starting at offset 0x...:
+#...
+ +\[ 5\] \.MMIX\.spec_data\.4 +PROGBITS +0+ +0+c4
+ +0+ +0+ +0 +0 +1
+ +\[ 6\] \.MMIX\.reg_content +PROGBITS +0+ +0+c4
+ +0+8 +0+ +W +0 +0 +1
+#...
+Relocation section '\.rela\.text' at offset 0x... contains 5 entries:
+.*
+0+34 +.* R_MMIX_ADDR19 +0+ +target +\+ 2c
+0+46 +.* R_MMIX_16 +0+ +target2 +\+ 30
+0+48 +.* R_MMIX_ADDR27 +0+ +target3 +\+ 38
+0+54 +.* R_MMIX_ADDR19 +0+ +target3 +\+ 0
+0+78 +.* R_MMIX_LOCAL +0+30
 
 Symbol table '\.symtab' contains 12 entries:
  Num:    Value          Size Type    Bind   Vis      Ndx Name
    0: 0+     0 NOTYPE  LOCAL  DEFAULT  UND 
    1: 0+     0 SECTION LOCAL  DEFAULT    
    2: 0+     0 SECTION LOCAL  DEFAULT    
    3: 0+     0 SECTION LOCAL  DEFAULT    
    4: 0+18     0 NOTYPE  LOCAL  DEFAULT  ABS z
    5: 0+80     0 NOTYPE  LOCAL  DEFAULT    1 x
    6: 0+     0 SECTION LOCAL  DEFAULT    
    7: 0+     0 SECTION LOCAL  DEFAULT    
    8: 0+     0 FUNC    GLOBAL DEFAULT    1 Main
    9: 0+     0 NOTYPE  GLOBAL DEFAULT  UND target
   10: 0+     0 NOTYPE  GLOBAL DEFAULT  UND target2
   11: 0+     0 NOTYPE  GLOBAL DEFAULT  UND target3
+Num: +Value +Size +Type +Bind +Vis +Ndx +Name
+0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND 
+1: 0+ +0 +SECTION +LOCAL +DEFAULT +
+2: 0+ +0 +SECTION +LOCAL +DEFAULT +
+3: 0+ +0 +SECTION +LOCAL +DEFAULT +
+4: 0+18 +0 +NOTYPE +LOCAL +DEFAULT +ABS z
+5: 0+80 +0 +NOTYPE +LOCAL +DEFAULT +1 x
+6: 0+ +0 +SECTION +LOCAL +DEFAULT +
+7: 0+ +0 +SECTION +LOCAL +DEFAULT +
+8: 0+ +0 +FUNC +GLOBAL +DEFAULT +1 Main
+9: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND target
+10: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND target2
+11: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND target3
 
 Hex dump of section '\.text':
+ NOTE: This section has relocations against it, but these have NOT been applied to this dump.
   0x0+ 0000007b 00010017 00010203 01030201 .*
   0x0+10 09050006 09070208 0509000a 050b030c .*
   0x0+20 230f1011 23121300 23141516 34170018 .*
@@ -63,7 +40,7 @@ Hex dump of section '\.text':
   0x0+50 f9000028 f2290000 fa2a0000 fb00002b .*
   0x0+60 f604002c fe2d0004 00000000 03020104 .*
   0x0+70 0007000c 00000014 00000000 0000001c .*
-  0x0+80 fd221538 00000000                   .*
+  0x0+80 fd221538                            .*
 
 Hex dump of section '\.MMIX\.reg_contents':
   0x0+ 00000000 00000033                   .*