aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2006-12-07 15:39:02 +0000
committerKazu Hirata <kazu@codesourcery.com>2006-12-07 15:39:02 +0000
commitc694fd509c66fdf2b0e26bd136e7279f231eec91 (patch)
treec1ef0484974f9132ab91b888e1a4a6ef801125ed /binutils
parente5d080028db61d00aed864b1d487bf6e8e20a7e7 (diff)
downloadgdb-c694fd509c66fdf2b0e26bd136e7279f231eec91.zip
gdb-c694fd509c66fdf2b0e26bd136e7279f231eec91.tar.gz
gdb-c694fd509c66fdf2b0e26bd136e7279f231eec91.tar.bz2
bfd/
* elf32-m68k.c: Update uses of EF_M68K_*. binutils/ * readelf.c: Update uses of EF_M68K_*. gas/ * config/tc-m68k.c: Update uses of EF_M68K_*. include/elf * m68k.h (EF_M68K_ISA_MASK, EF_M68K_ISA_A_NODIV, EF_M68K_ISA_A, EF_M68K_ISA_A_PLUS, EF_M68K_ISA_B_NOUSP, EF_M68K_ISA_B, EF_M68K_ISA_C, EF_M68K_MAC_MASK, EF_M68K_MAC, EF_M68K_EMAC, EF_M68K_EMAC_B, EF_M68K_FLOAT): Rename to EF_M68K_CF_ISA_MASK, EF_M68K_CF_ISA_A_NODIV, EF_M68K_CF_ISA_A, EF_M68K_CF_ISA_A_PLUS, EF_M68K_CF_ISA_B_NOUSP, EF_M68K_CF_ISA_B, EF_M68K_CF_ISA_C, EF_M68K_CF_MAC_MASK, EF_M68K_CF_MAC, EF_M68K_CF_EMAC, EF_M68K_CF_EMAC_B, EF_M68K_CF_FLOAT, respectively.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/readelf.c22
2 files changed, 15 insertions, 11 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 6628f14..a05137a 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2006-12-07 Kazu Hirata <kazu@codesourcery.com>
+
+ * readelf.c: Update uses of EF_M68K_*.
+
2006-10-30 Paul Brook <paul@codesourcery.com>
* objdump.c (disassemble_section): Set info->symtab_pos.
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 9e015e2..845a9c9 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -2016,29 +2016,29 @@ get_machine_flags (unsigned e_flags, unsigned e_machine)
strcat (buf, ", cpu32");
if (e_flags & EF_M68K_M68000)
strcat (buf, ", m68000");
- if (e_flags & EF_M68K_ISA_MASK)
+ if (e_flags & EF_M68K_CF_ISA_MASK)
{
char const *isa = _("unknown");
char const *mac = _("unknown mac");
char const *additional = NULL;
- switch (e_flags & EF_M68K_ISA_MASK)
+ switch (e_flags & EF_M68K_CF_ISA_MASK)
{
- case EF_M68K_ISA_A_NODIV:
+ case EF_M68K_CF_ISA_A_NODIV:
isa = "A";
additional = ", nodiv";
break;
- case EF_M68K_ISA_A:
+ case EF_M68K_CF_ISA_A:
isa = "A";
break;
- case EF_M68K_ISA_A_PLUS:
+ case EF_M68K_CF_ISA_A_PLUS:
isa = "A+";
break;
- case EF_M68K_ISA_B_NOUSP:
+ case EF_M68K_CF_ISA_B_NOUSP:
isa = "B";
additional = ", nousp";
break;
- case EF_M68K_ISA_B:
+ case EF_M68K_CF_ISA_B:
isa = "B";
break;
}
@@ -2046,17 +2046,17 @@ get_machine_flags (unsigned e_flags, unsigned e_machine)
strcat (buf, isa);
if (additional)
strcat (buf, additional);
- if (e_flags & EF_M68K_FLOAT)
+ if (e_flags & EF_M68K_CF_FLOAT)
strcat (buf, ", float");
- switch (e_flags & EF_M68K_MAC_MASK)
+ switch (e_flags & EF_M68K_CF_MAC_MASK)
{
case 0:
mac = NULL;
break;
- case EF_M68K_MAC:
+ case EF_M68K_CF_MAC:
mac = "mac";
break;
- case EF_M68K_EMAC:
+ case EF_M68K_CF_EMAC:
mac = "emac";
break;
}