Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxj!houxm!ihnp4!zehntel!hplabs!sri-unix!phil@RICE.ARPA From: phil@RICE.ARPA Newsgroups: net.lang.c Subject: Re: Do you use bit fields? Message-ID: <12281@sri-arpa.UUCP> Date: Sat, 22-Sep-84 16:14:14 EDT Article-I.D.: sri-arpa.12281 Posted: Sat Sep 22 16:14:14 1984 Date-Received: Wed, 26-Sep-84 06:18:33 EDT Lines: 14 From: William LeFebvreC'mon guys! I'm surprised no one has mentioned this yet. On Berkeley Unix (which is the only Unix I am familiar with), "ld" uses bit fields all the time. The structure used to indicate an address that needs relocation in an object file (a "struct relocation_info") has a bit field declaration for one of the longs! Look at "/usr/include/a.out.h". I guess no one out there has ever had to write a relocating loader for Berkeley Unix. William LeFebvre Department of Computer Science Rice University