Path: chuka.playstation.co.uk!scea!peter_alau@playstation.sony.com From: Darco Newsgroups: scee.yaroze.freetalk.english,scee.yaroze.programming.gnu_compiler,scea.yaroze.freetalk.english,scea.yaroze.programming.gnu_compiler Subject: Re: gnu assembler modifications Date: Mon, 19 Apr 1999 07:20:11 -0400 Organization: SCEA News Server Lines: 33 Message-ID: <371B116B.B6286C00@datasys.net> References: Reply-To: darco@bigfoot.com NNTP-Posting-Host: 353.dialup.datasys.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.05 [en] (Win95; U) Xref: chuka.playstation.co.uk scee.yaroze.freetalk.english:3913 scee.yaroze.programming.gnu_compiler:315 scea.yaroze.programming.gnu_compiler:113 I'm interested. if you can zip up the files and post em' that'd be cool. 'Darco Toby Sargeant wrote: > > 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.