Article View: gnu.gcc.bug
Article #1888const array not put into text segment
From: Glenn Engel
Date: Wed, 26 Oct 1988 17:50
Date: Wed, 26 Oct 1988 17:50
41 lines
1350 bytes
1350 bytes
The following code shows that with gcc1.29 const arrays are not put into the text segment as they should be. I am told that previuos versions did do this properly. gcc version 1.29 /usr/local/lib/gcc-cpp -v -undef -D__GNU__ -D__GNUC__ -Dhp9000s200 -Dhp9000s300 -DPWB -Dmc68k -Dmc68000 -Dhpux -Dunix -D__HAVE_FPU__ garb.c /tmp/cca02713.cpp GNU CPP version 1.29 /usr/local/lib/gcc-cc1 /tmp/cca02713.cpp -quiet -dumpbase garb.c -version -o ga rb.s GNU C version 1.29 (68k, MIT syntax) compiled by GNU C version 1.29. #NO_APP .globl _k .data THIS SHOULD BE .text ! .even _k: .long 1 .long 2 .long 3 .long 4 .globl _j .text THIS IS OK .even _j: .long 10 .even .globl _main _main: link a6,#0 L1: unlk a6 rts -- | Glenn R. Engel | Hewlett-Packard | (206) 335-2066 | glenne%hplsla@hplabs.hp.com
Technical Details
Message-ID:
<8810261750.AA02725@labgre.HP.COM>Path:
arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!texbell!bigtex!natinst!cs.utexas.edu!tut.cis.ohio-state.edu!HPLABS.HP.COM!glenne%hplslaShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!texbell!bigtex!natinst!cs.utexas.edu!tut.cis.ohio-state.edu!HPLABS.HP.COM!glenne%hplsla From: glenne%hplsla@HPLABS.HP.COM (Glenn Engel) Newsgroups: gnu.gcc.bug Subject: const array not put into text segment Message-ID: <8810261750.AA02725@labgre.HP.COM> Date: 26 Oct 88 17:50:49 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 40