Article View: gnu.g++.bug
Article #1903vtables in .data segment
From: Ron Guilmette
Date: Tue, 25 Apr 1989 00:27
Date: Tue, 25 Apr 1989 00:27
16 lines
984 bytes
984 bytes
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
Technical Details
Message-ID:
<8904250027.AA26892@riunite.aca.mcc.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!MCC.COM!rfgShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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