Jonathan Nieder dixit: >68k porters, could you try this with a recent binutils and report back
Not strictly speaking a porter, but… sure ☺ The example is pretty bad and won’t (can’t) compile, but the problem still persists on latest (a-g d-u today!) sid: root@ara5:~ # as -o x1.o x1.s x1.s: Assembler messages: x1.s:4: Error: selected processor does not have all features of selected architecture 1|root@ara5:~ # ll x1* -rw-r--r-- 1 root root 50 Jun 3 23:28 x1.s root@ara5:~ # cat x1.s .chip 68000 .text Entry: bra start nop start: nop root@ara5:~ # dpkg -l binutils\* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-======================-======================-============================================================ ii binutils 2.21.51.20110523-1 The GNU assembler, linker and binary utilities un binutils-avr <none> (no description available) ii binutils-dev 2.21.51.20110523-1 The GNU binary utilities (BFD development files) ii binutils-doc 2.21.51.20110523-1 Documentation for the GNU assembler, linker and binary utili un binutils-gold <none> (no description available) un binutils-h8300-hms <none> (no description available) un binutils-m68hc11 <none> (no description available) un binutils-m68hc12 <none> (no description available) un binutils-m68hc1x <none> (no description available) un binutils-multiarch <none> (no description available) un binutils-source <none> (no description available) un binutils-z80 <none> (no description available) さかし… The “info as” documentation doesn’t know .chip, and even .chip 68020 (gcc’s default) makes assembling fail. And RTFM yields this: root@ara5:~ # as -o x1.o x1.s root@ara5:~ # objdump -dS x1.o x1.o: file format elf32-m68k Disassembly of section .text: 00000000 <Entry>: 0: 6000 0004 braw 6 <start> 4: 4e71 nop 00000006 <start>: 6: 4e71 nop root@ara5:~ # cat x1.s .cpu 68000 .text Entry: bra start nop start: nop I don’t know whether .chip should do this, but if you can, change (Emile?) to use .cpu instead or, preferably, run it with -Wa,-m68000 or something like that. bye, //mirabilos -- If Harry Potter gets a splitting headache in his scar when he’s near Tom Riddle (aka Voldemort), does Tom get pain in the arse when Harry is near him? -- me, wondering why it’s not Jerry Potter……… -- To UNSUBSCRIBE, email to debian-68k-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pine.bsm.4.64l.1106032328400.8...@herc.mirbsd.org