Article View: gnu.gcc.bug
Article #6072no .text segment
From: Ernst Kals
Date: Mon, 16 Dec 1996 00:00
Date: Mon, 16 Dec 1996 00:00
44 lines
1830 bytes
1830 bytes
Installed :
Reading specs from /usr/local/lib/gcc-lib/rs6000-ibm-aix4.2.0.0/2.7.2/specs
gcc version 2.7.2
What I did: Install Emacs-19.34
There are two possibilities: using GCC or CC
(1.1) Using GCC
make distclean; configure;
make LDFLAGS="-Xlinker '-bloadmap:temacs.map-gcc '"
yiels loadmap "temacs.map-gcc" and Emacs that coredumps
(1.2) Using CC
make distclean; configure --with-gcc=no;
make LDFLAGS="-bloadmap:temacs.map-cc"
yiels loadmap "temacs.map-cc" and Emacs that works fine
Of course there are some differences beetwen loadmaps. Only one
might be remarkable:
"temacs.map-gcc" contents (1.1)
< SAVE: Section sizes = 1372973+460543+197464 (0x14F32D+0x706FF+0x30358 hex)
< SAVE: Size of TOC: 41296 (0xA150 hex)
< SAVE: No .loader section relocation entries exist for the .text section. **
=============
---
"temacs.map-cc" contents (1.2)
> SAVE: Section sizes = 1306548+485292+197560 (0x13EFB4+0x767AC+0x303B8 hex)
> SAVE: Size of TOC: 9976 (0x26F8 hex)
The procces building Emacs uses temacs to write out a copy
of the loaded task. Might be that the program that dumps out Emacs
needs a ".text" segment.
How should I tell GCC to write out .text segment ?
Remark: using programms without dumping feature are working fine.
Thanks!
Technical Details
Message-ID:
<199612161450.OAA02886@l04.CARO.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 113d02,3631b8306682835e,start X-Google-Attributes: gid113d02,public From: ekals@borg-6.borg-graz.ac.at (Ernst Kals) Subject: no .text segment Date: 1996/12/16 Message-ID: <199612161450.OAA02886@l04.CARO.com> X-Deja-AN: 204380984 sender: bug-gcc-request@prep.ai.mit.edu x-gateway: relay6.UU.NET from bug-gcc to gnu.gcc.bug; Mon, 16 Dec 1996 08:51:29 EST newsgroups: gnu.gcc.bug