File: pr20125.d

package info (click to toggle)
binutils-djgpp 2.35.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 321,256 kB
  • sloc: ansic: 1,162,947; asm: 671,219; cpp: 134,012; exp: 70,783; makefile: 55,860; sh: 22,254; yacc: 14,459; lisp: 13,806; perl: 2,008; lex: 1,649; pascal: 307; sed: 195; awk: 25
file content (21 lines) | stat: -rw-r--r-- 709 bytes parent folder | download | duplicates (19)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#as: -no-predefined-syms -x -I$srcdir/$subdir
#ld: -m mmo --defsym __.MMIX.start..text=0x80000
#objdump: -dr

# PUSHJ reloc handling was wrong for weak undefined symbols, causing
# internal inconsistencies, leading to a call to abort.
# Note that we don't keep track of which symbols have pushj-stubs, so
# we get one stub each for the two calls to "foo".

.*:     file format mmo

Disassembly of section \.text:

0+80000 <(_start|Main)>:
   80000:	fe000004 	get \$0,rJ
   80004:	f2010004 	pushj \$1,80014 <Main\+0x14>
   80008:	f2010004 	pushj \$1,80018 <Main\+0x18>
   8000c:	f6040000 	put rJ,\$0
   80010:	f8010000 	pop 1,0
   80014:	f1fdfffb 	jmp 0 <Main-0x80000>
   80018:	f1fdfffa 	jmp 0 <Main-0x80000>