Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!MCC.COM!rfg From: rfg@MCC.COM (Ron Guilmette) Newsgroups: gnu.g++.bug Subject: vtables in .data segment Message-ID: <8904250027.AA26892@riunite.aca.mcc.com> Date: 25 Apr 89 00:27:17 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 16 Can anyone tell me why g++ places virtual function tables into the .data segment? I was very surprized to find out that this was the case. Up until today, I always believed (naively) that they would be put into the .text segment since they are (should be?) read-only. Is something going on with vtables that I don't know about? Please excuse me if my ignorance is showing. // Ron Guilmette - MCC - Experimental Systems Kit Project // 3500 West Balcones Center Drive, Austin, TX 78759 - (512)338-3740 // ARPA: rfg@mcc.com // UUCP: {rutgers,uunet,gatech,ames,pyramid}!cs.utexas.edu!pp!rfg