Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2006-10-30 22:46:10 +0300
committerKazu Hirata <kazu@codesourcery.com>2006-10-30 22:46:10 +0300
commit91456cffb8839b3ce0aba70988ae53e34ff154e2 (patch)
tree215f5f9475bb2f6ceaca679c92a0ffbcae3304eb
parentd213cf009769724bd3462a5a799b339fb7ad9403 (diff)
Merge fido bits:
2006-10-25 Kazu Hirata <kazu@codesourcery.com> gprof/ * hist.c, hist.h: Fix formatting. gprof/ * Makefile.in (corefile.o): Depend on hist.h. * corefile.c: Include hist.h. 2006-10-06 Vladimir Prus <vladimir@codesourcery.com> * hist.h (struct histogram) (histograms, num_histograms): New. * hist.c (find_histogram, find_histogram_for_pc) (read_histogram_header): New. (s_lowpc, s_highpc, lowpc, highpc, hist_num_bins) (hist_sample): Remove. (hist_read_rec): Use the above, and handle multiple histogram records with disjoint address ranges. (hist_write_hist): Support several histogram records. (scale_and_align_entries): Adjust for multiple histograms. (hist_assign_samples_1): New. (hist_assign_samples): Use the above. (hist_clip_symbol_address): New. * hist.h (hist_check_address) (hist_clip_symbol_address): Declare. * gmon_io.c (gmon_out_read, gmon_out_write): Adjust handling of legacy format for multiple histogram changes. * corefile.c (find_call): Check for core_text_space and clip symbol address range here. * vax.c (vax_find_call): Don't check for core_text_space, or clip the symbol's address range here. Use hist_check_address to check call's target address. * sparc.c: Likewise. * tahoe.c: Likewise. * i386.c: Likewise. * mips.c: Likewise. Also use core_text_sect->vma as the base address for code accesses, just like other machine-specific routines do. 2006-08-03 Kazu Hirata <kazu@codesourcery.com> * gas/config/tc-m68k.c (archs): Add -mfido as an alias for -mfido_a. 2006-06-23 Kazu Hirata <kazu@codesourcery.com> * gas/config/tc-m68k.c (cpu_of_arch): Replace fido with fido_a. (archs): Likewise. (m68k_ip): Likewise. (select_control_regs): Likewise. (md_show_usage): Replace -mfido with -mfidoa. * include/opcode/m68k.h (fido): Rename to fido_a. * opcodes/m68k-opc.c (m68k_opcodes): Replace fido with fido_a. 2006-06-22 Kazu Hirata <kazu@codesourcery.com> * config.sub: Replace fido with fido. * bfd/config.bfd: Likewise * gas/configure.tgt: Likewise. * gas/config/m68k-parse.h: Likewise. * gas/config/tc-m68k.c: Likewise. * gas/testsuite/gas/m68k/all.exp: Likewise. * gas/testsuite/gas/m68k/fido.d: Rename to fido.d. * gas/testsuite/gas/m68k/fido.s: Rename to fido.s. * include/opcode/m68k.h: Replace fido with fido. * ld/configure.tgt: Likewise. * opcodes/m68k-dis.c: Likewise. * opcodes/m68k-opc.c: Likewise. 2005-08-01 Kazu Hirata <kazu@codesourcery.com> * gas/config/m68k-parse.h (m68k_register): Add CAC and MBB. * gas/config/tc-m68k.c (fido_control_regs): New. (cpu_of_arch): Add fido. (archs): Add an entry for fido. (m68k_ip): Add warnings for uses of tbl[su]{n,}[bwl] on fido. Recognize CAC and MBB. (init_tabl): Add CAC and MBB. (select_control_regs): Choose fido as the current chip when the current architecture is fido or when -mfido is given explicitly. * gas/testsuite/gas/m68k/all.exp: Disable operands, cas, and bitfield on fido-*-*. Run fido on fido-*-*. * gas/testsuite/gas/m68k/fido.d: New. * gas/testsuite/gas/m68k/fido.s: Likewise. * include/opcode/m68k.h: Document new control registers CAC and MBB. * opcodes/m68k-dis.c (print_insn_arg): Add cac and mbb. * opcodes/m68k-opc.c (m68k_opcodes): Add sleep and trapx. 2005-07-22 Kazu Hirata <kazu@codesourcery.com> * gas/config/tc-m68k.c (archs): Add fido as an OR of cpu32 and fido. (md_show_usage): Add -mfido. * include/opcode/m68k.h (fido): New. 2005-07-11 Kazu Hirata <kazu@codesourcery.com> * config.sub: Recognize fido and fido-*. * bfd/config.bfd: Likewise. * gas/configure.tgt: Likewise. * ld/configure.tgt: Likewise.
-rw-r--r--ChangeLog.csl109
-rwxr-xr-xconfig.sub4
-rw-r--r--include/opcode/m68k.h3
3 files changed, 113 insertions, 3 deletions
diff --git a/ChangeLog.csl b/ChangeLog.csl
index dbe5cc8d2..0a14213f2 100644
--- a/ChangeLog.csl
+++ b/ChangeLog.csl
@@ -1,3 +1,112 @@
+2006-10-30 Kazu Hirata <kazu@codesourcery.com>
+
+ Merge fido bits:
+ 2006-10-25 Kazu Hirata <kazu@codesourcery.com>
+
+ gprof/
+ * hist.c, hist.h: Fix formatting.
+
+ gprof/
+ * Makefile.in (corefile.o): Depend on hist.h.
+ * corefile.c: Include hist.h.
+
+ 2006-10-06 Vladimir Prus <vladimir@codesourcery.com>
+
+ * hist.h (struct histogram)
+ (histograms, num_histograms): New.
+ * hist.c (find_histogram, find_histogram_for_pc)
+ (read_histogram_header): New.
+ (s_lowpc, s_highpc, lowpc, highpc, hist_num_bins)
+ (hist_sample): Remove.
+ (hist_read_rec): Use the above, and handle multiple
+ histogram records with disjoint address ranges.
+ (hist_write_hist): Support several histogram records.
+ (scale_and_align_entries): Adjust for multiple histograms.
+ (hist_assign_samples_1): New.
+ (hist_assign_samples): Use the above.
+ (hist_clip_symbol_address): New.
+ * hist.h (hist_check_address)
+ (hist_clip_symbol_address): Declare.
+ * gmon_io.c (gmon_out_read, gmon_out_write): Adjust handling
+ of legacy format for multiple histogram changes.
+ * corefile.c (find_call): Check for core_text_space and
+ clip symbol address range here.
+ * vax.c (vax_find_call): Don't check for
+ core_text_space, or clip the symbol's address range here.
+ Use hist_check_address to check call's target address.
+ * sparc.c: Likewise.
+ * tahoe.c: Likewise.
+ * i386.c: Likewise.
+ * mips.c: Likewise. Also use core_text_sect->vma as the base
+ address for code accesses, just like other machine-specific
+ routines do.
+
+ 2006-08-03 Kazu Hirata <kazu@codesourcery.com>
+
+ * gas/config/tc-m68k.c (archs): Add -mfido as an alias for
+ -mfido_a.
+
+ 2006-06-23 Kazu Hirata <kazu@codesourcery.com>
+
+ * gas/config/tc-m68k.c (cpu_of_arch): Replace fido with
+ fido_a.
+ (archs): Likewise.
+ (m68k_ip): Likewise.
+ (select_control_regs): Likewise.
+ (md_show_usage): Replace -mfido with -mfidoa.
+ * include/opcode/m68k.h (fido): Rename to fido_a.
+ * opcodes/m68k-opc.c (m68k_opcodes): Replace fido with fido_a.
+
+ 2006-06-22 Kazu Hirata <kazu@codesourcery.com>
+
+ * config.sub: Replace fido with fido.
+ * bfd/config.bfd: Likewise
+ * gas/configure.tgt: Likewise.
+ * gas/config/m68k-parse.h: Likewise.
+ * gas/config/tc-m68k.c: Likewise.
+ * gas/testsuite/gas/m68k/all.exp: Likewise.
+ * gas/testsuite/gas/m68k/fido.d: Rename to fido.d.
+ * gas/testsuite/gas/m68k/fido.s: Rename to fido.s.
+ * include/opcode/m68k.h: Replace fido with fido.
+ * ld/configure.tgt: Likewise.
+ * opcodes/m68k-dis.c: Likewise.
+ * opcodes/m68k-opc.c: Likewise.
+
+ 2005-08-01 Kazu Hirata <kazu@codesourcery.com>
+
+ * gas/config/m68k-parse.h (m68k_register): Add CAC and MBB.
+ * gas/config/tc-m68k.c (fido_control_regs): New.
+ (cpu_of_arch): Add fido.
+ (archs): Add an entry for fido.
+ (m68k_ip): Add warnings for uses of tbl[su]{n,}[bwl] on
+ fido. Recognize CAC and MBB.
+ (init_tabl): Add CAC and MBB.
+ (select_control_regs): Choose fido as the current chip
+ when the current architecture is fido or when -mfido
+ is given explicitly.
+ * gas/testsuite/gas/m68k/all.exp: Disable operands, cas, and
+ bitfield on fido-*-*. Run fido on fido-*-*.
+ * gas/testsuite/gas/m68k/fido.d: New.
+ * gas/testsuite/gas/m68k/fido.s: Likewise.
+ * include/opcode/m68k.h: Document new control registers CAC
+ and MBB.
+ * opcodes/m68k-dis.c (print_insn_arg): Add cac and mbb.
+ * opcodes/m68k-opc.c (m68k_opcodes): Add sleep and trapx.
+
+ 2005-07-22 Kazu Hirata <kazu@codesourcery.com>
+
+ * gas/config/tc-m68k.c (archs): Add fido as an OR of
+ cpu32 and fido.
+ (md_show_usage): Add -mfido.
+ * include/opcode/m68k.h (fido): New.
+
+ 2005-07-11 Kazu Hirata <kazu@codesourcery.com>
+
+ * config.sub: Recognize fido and fido-*.
+ * bfd/config.bfd: Likewise.
+ * gas/configure.tgt: Likewise.
+ * ld/configure.tgt: Likewise.
+
2006-10-28 Paul Brook <paul@codesourcery.com>
Julian Brown <julian@codesourcery.com>
diff --git a/config.sub b/config.sub
index a4e8a94a3..b2dea75f0 100755
--- a/config.sub
+++ b/config.sub
@@ -244,7 +244,7 @@ case $basic_machine in
| bfin \
| c4x | clipper \
| d10v | d30v | dlx | dsp16xx \
- | fr30 | frv \
+ | fido | fr30 | frv \
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
| i370 | i860 | i960 | ia64 \
| ip2k | iq2000 \
@@ -323,7 +323,7 @@ case $basic_machine in
| clipper-* | craynv-* | cydra-* \
| d10v-* | d30v-* | dlx-* \
| elxsi-* \
- | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
+ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
| h8300-* | h8500-* \
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
| i*86-* | i860-* | i960-* | ia64-* \
diff --git a/include/opcode/m68k.h b/include/opcode/m68k.h
index f8fdf1beb..ca0b4d98d 100644
--- a/include/opcode/m68k.h
+++ b/include/opcode/m68k.h
@@ -31,7 +31,8 @@
#define m68881 0x040
#define m68851 0x080
#define cpu32 0x100 /* e.g., 68332 */
-#define m68k_mask 0x1ff
+#define fido_a 0x200
+#define m68k_mask 0x3ff
#define mcfmac 0x400 /* ColdFire MAC. */
#define mcfemac 0x800 /* ColdFire EMAC. */