diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-04-23 18:40:34 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-04-23 18:40:34 +0000 |
commit | fe4fa32c96bc16ffbdb13ed722f63b88721b5f8d (patch) | |
tree | 4818c0449af831829cd11af09ed878566e103829 /gas/configure.tgt | |
parent | 554387026911a74af6e23cd8791d16ce5a1a0070 (diff) | |
download | gdb-fe4fa32c96bc16ffbdb13ed722f63b88721b5f8d.zip gdb-fe4fa32c96bc16ffbdb13ed722f63b88721b5f8d.tar.gz gdb-fe4fa32c96bc16ffbdb13ed722f63b88721b5f8d.tar.bz2 |
2008-04-23 Mike Frysinger <vapier@gentoo.org>
* Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
(OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
(obj-fdpicelf.o): Define.
* Makefile.in: Regenerate.
* configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
(bfin-*-*): Delete.
(bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
(bfin-*-uclinux*): New; set fmt to elf and em to linux.
* config/obj-fdpicelf.c: New.
* config/obj-fdpicelf.h: Likewise.
* config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
the OBJ_FDPIC_ELF define.
(OPTION_NOPIC): Define.
(md_longopts): Add mnopic and mno-fdpic.
(md_parse_option): Handle OPTION_NOPIC.
Diffstat (limited to 'gas/configure.tgt')
-rw-r--r-- | gas/configure.tgt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gas/configure.tgt b/gas/configure.tgt index 1d7e10d..a9c76ee 100644 --- a/gas/configure.tgt +++ b/gas/configure.tgt @@ -125,8 +125,11 @@ case ${generic_target} in arm-*-riscix*) fmt=aout em=riscix ;; avr-*-*) fmt=elf bfd_gas=yes ;; - bfin-*-*) fmt=elf bfd_gas=yes ;; + + bfin-*-linux-uclibc) fmt=fdpicelf em=linux ;; + bfin-*-uclinux*) fmt=elf em=linux ;; bfin-*elf) fmt=elf ;; + cr16-*-elf*) fmt=elf ;; cris-*-linux-* | crisv32-*-linux-*) @@ -416,7 +419,7 @@ case ${cpu_type} in ;; esac case ${fmt} in - elf | ecoff | multi | som) + elf | ecoff | fdpicelf | multi | som) bfd_gas=yes ;; esac |