🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Ron Guilmette Tue, 25 Apr 1989 00:27
vtables in .data segment
#1903
Author: Ron Guilmette
Date: Tue, 25 Apr 1989 00:27
16 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads