Path: chuka.playstation.co.uk!tjs From: tjs@cs.monash.edu.au (Toby Sargeant) Newsgroups: scee.yaroze.freetalk.english,scee.yaroze.programming.gnu_compiler,scea.yaroze.freetalk.english,scea.yaroze.programming.gnu_compiler Subject: gnu assembler modifications Date: 6 Apr 1999 23:07:54 GMT Organization: PlayStation Net Yaroze (SCEE) Lines: 27 Message-ID: NNTP-Posting-Host: longford.cs.monash.edu.au X-Newsreader: slrn (0.9.4.3 UNIX) Xref: chuka.playstation.co.uk scee.yaroze.freetalk.english:3886 scee.yaroze.programming.gnu_compiler:314 scea.yaroze.programming.gnu_compiler:112 Hi, Just in case anyone's interested, I've made some small modifications to gas that add two new pseudo-ops - 1) .sbss (which seems to be strangely lacking in the mips gas) which allows you to explicitly put bss data within reach of the gp. (gas will, by default, put small bss data in the sbss section, but I like to have more control) 2) .incbin "file" - which will simply include the contents of the named file at that point in the source. No more need for utilities to convert binaries into source. Is anyone interested in these patches? It's probably only useful if you're already using your own binutils, or if you're prepared to make the switch. It shouldn't be too difficult to patch the djgpp version of binutils (assuming that there's a binutils 2.9.1 djgpp port), so if you want to keep using dos, you probably can. Additionally, is there anything else that makes sense as a pseudo-op that gas currently doesn't implement? I'm actually rather enjoying making modifications to it :) It's a pity I can't remember enough about asm-one and snasm. (mmm. those were the days.) Toby.