Mail Archives: djgpp-workers/2001/03/11/09:50:28
> However, if there's no reasonable way to run this in DOS, I don't think
> you should bother testing it, as no user will ever be able to see that
> code in action. So just forget about it.
OK.
Oh, I noticed something annoying: running binaries (such as stubedit)
built in the DJGPP CVS tree crashed my system in a BIG way. Turns out
this is because my gcc uses 'const' sections, and djgpp.djl doesn't put
them anywhere. So if you would be so kind as to add these:
Index: lib/djgpp.djl
===================================================================
RCS file: /cvs/djgpp/djgpp/lib/djgpp.djl,v
retrieving revision 1.5
diff -u -r1.5 lib/djgpp.djl
--- lib/djgpp.djl 2000/12/06 18:31:03 1.5
+++ lib/djgpp.djl 2001/03/11 14:49:29
@@ -5,6 +5,8 @@
.text 0x1000+SIZEOF_HEADERS : {
*(.text)
*(.gnu.linkonce.t*)
+ *(.const*)
+ *(.ro*)
*(.gnu.linkonce.r*)
etext = . ;
PROVIDE(_etext = .);
@@ -37,6 +39,14 @@
end = . ;
PROVIDE(_end = .);
. = ALIGN(0x200);
+ }
+ .stab 0 (NOLOAD) :
+ {
+ [ .stab ]
+ }
+ .stabstr 0 (NOLOAD) :
+ {
+ [ .stabstr ]
}
/* DWARF 2 */
.debug_aranges 0 : { *(.debug_aranges) }
- Raw text -