aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorGeorg-Johann Lay <avr@gjlay.de>2011-09-29 11:51:59 +0000
committerGeorg-Johann Lay <gjl@gcc.gnu.org>2011-09-29 11:51:59 +0000
commit6c7dfafee68e3c18aa6c0f7c42e3f86bce196d7e (patch)
treea686f9d9d2c7a4dd98ad61ff4e2b8ce052f3bc0c /gcc/config.gcc
parentaec7773c94d61d2b47632b9394abbc78417afa21 (diff)
downloadgcc-6c7dfafee68e3c18aa6c0f7c42e3f86bce196d7e.zip
gcc-6c7dfafee68e3c18aa6c0f7c42e3f86bce196d7e.tar.gz
gcc-6c7dfafee68e3c18aa6c0f7c42e3f86bce196d7e.tar.bz2
re PR target/50566 ([avr]: Add support for better logging similar to -mdeb)
PR target/50566 * config.gcc (extra_objs): Add avr-log.o for $target in: avr-*-rtems*, avr-*-*. * config/avr/t-avr (avr-log.o): New rule to compile... * config/avr/avr-log.c: ...this new file. * config/avr/avr.opt (mlog=): New option. * config/avr/avr-protos.h (avr_edump, avr_fdump): New macros. (avr_log_set_caller_e, avr_log_set_caller_f): New prototypes. (avr_log_set_avr_log): New prototype. (avr_log_t): New typedef. (avr_log): New declaration. * config/avr/avr.c (avr_option_override): Call avr_log_set_avr_log. From-SVN: r179344
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index cf11364..2456402 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -939,14 +939,14 @@ avr-*-rtems*)
libgcc_tm_file="$libgcc_tm_file avr/avr-lib.h"
tmake_file="avr/t-avr t-rtems avr/t-rtems"
extra_gcc_objs="driver-avr.o avr-devices.o"
- extra_objs="avr-devices.o"
+ extra_objs="avr-devices.o avr-log.o"
;;
avr-*-*)
tm_file="elfos.h avr/elf.h avr/avr.h dbxelf.h newlib-stdint.h"
libgcc_tm_file="$libgcc_tm_file avr/avr-lib.h"
use_gcc_stdint=wrap
extra_gcc_objs="driver-avr.o avr-devices.o"
- extra_objs="avr-devices.o"
+ extra_objs="avr-devices.o avr-log.o"
;;
bfin*-elf*)
tm_file="${tm_file} dbxelf.h elfos.h newlib-stdint.h bfin/elf.h"