#366 closed defect (fixed)

arm.h/ARM_HAS_THUMB

Reported by: Ralf Corsepius Owned by: Joel Sherrill
Priority: lowest Milestone: 2
Component: score Version: unknown
Severity: normal Keywords:
Cc: bugs@…, ralf.corsepius@… Blocked By:
Blocking:

Description

arm.h conditionally defines ARM_HAS_THUMB, however this define

  • is not applied anywhere.
  • is not documented anywhere.

nor is the meaning of this define apparent.

# grep -r ARM_HAS_THUMB *
cpukit/score/cpu/arm/rtems/score/arm.h:# define ARM_HAS_THUMB 0
cpukit/score/cpu/arm/rtems/score/arm.h:# define ARM_HAS_THUMB 1
cpukit/score/cpu/arm/rtems/score/arm.h:# define ARM_HAS_THUMB 0
cpukit/score/cpu/arm/rtems/score/arm.h:# define ARM_HAS_THUMB 1
cpukit/score/cpu/arm/rtems/score/arm.h:# define ARM_HAS_THUMB 0
cpukit/score/cpu/arm/rtems/score/arm.h:# define ARM_HAS_THUMB 1

I am inclined to regard ARM_HAS_THUMB as a relic of semi-implemented feature or code-rot.

Release:
RTEMS-4-6-branch

Change History (1)

comment:1 Changed on Mar 4, 2003 at 5:56:12 AM by Ralf Corsepius

Status: assignedclosed

State-Changed-From-To: open->closed
State-Changed-Why: ARM_HAS_THUMB removed on branch and trunk.

Note: See TracTickets for help on using tickets.