On 12/05/2015 10:22 AM, Andris Pavenis wrote:
Patch include updates to DJGPP related files in gcc/config/i386.
There are too many changes to gcc/config/i386/djgpp.h and
gcc/config/i386/xm-djgpp.h to list them completely in changelog
entry.
Andris
2015-11-25 Andris Pavenis <andris.pave...@iki.fi>
Subject: [PATCH 6/6] [DJGPP] gcc/config/i386: update DJGPP configuration
related files
* gcc/config/i386/djgpp.h: update
* gcc/config/i386/xm-djgpp.h: update
* gcc/config/i386/djgpp.c: new file
* gcc/config/i386/djgpp.opt: remove obsolete option -mbnu210
* gcc/config/i386/t-djgpp: new file
* gcc/config.gcc: use i386/t-djgpp for DJGPP target
0005-DJGPP-gcc-config-i386-update-DJGPP-configuration-rel.patch
From 367432d08b4a00f180c3d0710a0f34cda1b6eeee Mon Sep 17 00:00:00 2001
From: Andris Pavenis<andris.pave...@iki.fi>
Date: Sat, 5 Dec 2015 08:49:12 +0200
Subject: [PATCH 5/6] [DJGPP] gcc/config/i386: update DJGPP configuration
related files
* gcc/config/i386/djgpp.h: update
* gcc/config/i386/xm-djgpp.h: update
You should describe what you updated. SImply saying "update" is
insufficient here.
diff --git a/gcc/config/i386/djgpp.c b/gcc/config/i386/djgpp.c
new file mode 100644
index 0000000..29dad33
--- /dev/null
+++ b/gcc/config/i386/djgpp.c
@@ -0,0 +1,50 @@
+/* Subroutines for DJGPP.
+ Contributed by Andris Pavenis<andris.pave...@iki.fi>
+ Copyright (C) 2013 Free Software Foundation, Inc.
Copyright date needs updating.
+
+void
+i386_djgpp_asm_named_section(const char *name, unsigned int flags,
+ tree decl)
+{
+ char flagchars[8], *f = flagchars;
+
+(void)decl; /* silence warning. */
The way to do this now is to not give a name to the parameter. So
remove "decl" from the function signature (leaving its type though).
Then you can remove this line.
--- a/gcc/config/i386/djgpp.h
+++ b/gcc/config/i386/djgpp.h
@@ -17,12 +17,27 @@ You should have received a copy of the GNU General Public
License
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
+#define DBX_DEBUGGING_INFO 1
+#define SDB_DEBUGGING_INFO 1
? Really, do you *really* need this. I'd really like to see DBX and
SDB debugging info die, not propagate into more targets.
-#define IX86_MAYBE_NO_LIBGCC_TFMODE
+#undef DBX_REGISTER_NUMBER
+#define DBX_REGISTER_NUMBER(n) svr4_dbx_register_map[n]
And if the DBX_DEBUGGING_INFO goes away, can't this go away too?
Jeff