maybe should just use wildcard to include all sections except the ones needed to be discarded? as far as I can tell, all the sections in .o files are go into same section in output rom file. Then just let GCC to change section name as it wants to.
beneo
----- Original Message ----- From: "Ronald G Minnich" rminnich@lanl.gov To: "beneo" beneo@comcast.net Cc: "Lu, Yinghai" yinghai.lu@AMD.COM; linuxbios@openbios.org Sent: Thursday, November 10, 2005 6:51 PM Subject: Re: [LinuxBIOS] Build broken?
beneo wrote:
Is gcc 3.4 a requirement?
If not, I would save the trouble and stay with 3.2.2. I didn't encounter
any
trouble building LinuxBIOS using this version until now. In another
word,
are you absulutely sure the issue I have stated is caused by gcc 3.2.2
gcc keeps changing the names of types of segments we use. I don't recall the rodata.str1.32 segment before, but my memory is hazy.
So, no, I don't *think* 3.4 is a requirement -- we built for a long time with 2.95, after all -- but at the same time, 3.4 is known to work ...
ro