aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.tgt
diff options
context:
space:
mode:
authorAnton Kolesov <Anton.Kolesov@synopsys.com>2016-10-12 14:36:44 +0300
committerAnton Kolesov <Anton.Kolesov@synopsys.com>2016-10-12 14:48:18 +0300
commit4a2f4826907de97b089295000a67d2497aa94c99 (patch)
tree94cd672e3be90b759ac14d3bdeecacc0e648f359 /gdb/configure.tgt
parentaaf43c4882f827d9f778b40dcdb93566f765f5f9 (diff)
downloadgdb-4a2f4826907de97b089295000a67d2497aa94c99.zip
gdb-4a2f4826907de97b089295000a67d2497aa94c99.tar.gz
gdb-4a2f4826907de97b089295000a67d2497aa94c99.tar.bz2
arc: Add support for Newlib
Add support for Newlib as an OS/ABI. The only thing that is specific to it relatively to "generic" baremetal target is location of PC register in jump buffer for longjump support. Sniffer uses .ivt section to decide if ELF file is for ARC Newlib or not. gdb/ChangeLog: * arc-newlib-tdep.c: New file. * configure.tgt: Add newlib support for ARC.
Diffstat (limited to 'gdb/configure.tgt')
-rw-r--r--gdb/configure.tgt7
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index ef041de..a64fe42 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -83,8 +83,13 @@ am33_2.0*-*-linux*)
solib-svr4.o"
;;
+arc*-*-elf32)
+ # Target: baremetal ARC elf32 (newlib) target
+ gdb_target_obs="arc-newlib-tdep.o arc-tdep.o"
+ ;;
+
arc*-*-*)
- # Target: baremetal ARC elf32 target
+ # Target: Unidentified ARC target
gdb_target_obs="arc-tdep.o"
;;