Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!cbmvax!grr From: grr@cbmvax.cbm.UUCP (George Robbins) Newsgroups: comp.unix.wizards Subject: Re: Appending text to executables Message-ID: <1267@cbmvax.cbmvax.cbm.UUCP> Date: Wed, 21-Jan-87 01:52:48 EST Article-I.D.: cbmvax.1267 Posted: Wed Jan 21 01:52:48 1987 Date-Received: Wed, 21-Jan-87 22:21:15 EST References: <264@rabbit1.UUCP> Reply-To: grr@cbmvax.UUCP (George Robbins) Organization: Commodore Technology, West Chester, PA Lines: 21 Keywords: copyright a.out In article <264@rabbit1.UUCP> barber@rabbit1.UUCP (Steve Barber) writes: >Will anything bad happen if I append arbitrary text to a UNIX executable >(a.out) file? Basically, I need to have copyright notices physically >present in my a.out files and I don't want to hassle with relinking >the things. >Steve Barber Rabbit Software Corp. I think to be of any value, the notices have to be 'visible', not hidden at the end of the file. To do this, you need to arrange for text constants to be in the statup code. Of course, if you are laying traps to mark your code for identification, visibility is not an issue, but then just running the executable through 'ld' again will probably neatly trim off your addition. Yes, I know that no 'written' copyright notice is needed for the work to be copyrighted, but that isn't the issue here... -- George Robbins - now working for, uucp: {ihnp4|seismo|rutgers}!cbmvax!grr but no way officially representing arpa: cbmvax!grr@seismo.css.GOV Commodore, Engineering Department fone: 215-431-9255 (only by moonlite)