This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Honour thumb/interworking options (was: at91 cdl refactoring ,settable baudrate from redboot)


cvs diff: Diffing hal/arm/at91/var
cvs diff: Diffing hal/arm/at91/var/current
Index: hal/arm/at91/var/current/ChangeLog
===================================================================
RCS file: /home/dne/cvsroot/redhat/ecos/packages/hal/arm/at91/var/current/ChangeLog,v
retrieving revision 1.19
retrieving revision 1.20
diff -p -U5 -r1.19 -r1.20
--- hal/arm/at91/var/current/ChangeLog	18 Feb 2004 15:24:28 -0000	1.19
+++ hal/arm/at91/var/current/ChangeLog	19 Feb 2004 15:49:57 -0000	1.20
@@ -1,5 +1,11 @@
+2004-02-19  Daniel Néri  <daniel.neri@sigicom.se>
+
+	* cdl/hal_arm_at91.cdl (CYGBLD_GLOBAL_CFLAGS): Honour CYGHWR_THUMB
+	and CYGBLD_ARM_ENABLE_THUMB_INTERWORK.
+	(CYGBLD_GLOBAL_LDFLAGS): Ditto.
+
 2004-02-18  Daniel Néri  <daniel.neri@sigicom.se>
 
 	* cdl/hal_arm_at91.cdl: Don't define
 	CYGNUM_HAL_ARM_AT91_CLOCK_SPEED as "calculated", so it can be
 	overridden in the platform HAL.
cvs diff: Diffing hal/arm/at91/var/current/cdl
Index: hal/arm/at91/var/current/cdl/hal_arm_at91.cdl
===================================================================
RCS file: /home/dne/cvsroot/redhat/ecos/packages/hal/arm/at91/var/current/cdl/hal_arm_at91.cdl,v
retrieving revision 1.8
retrieving revision 1.9
diff -p -U5 -r1.8 -r1.9
--- hal/arm/at91/var/current/cdl/hal_arm_at91.cdl	18 Feb 2004 15:24:28 -0000	1.8
+++ hal/arm/at91/var/current/cdl/hal_arm_at91.cdl	19 Feb 2004 15:45:28 -0000	1.9
@@ -199,22 +199,22 @@ cdl_package CYGPKG_HAL_ARM_AT91 {
 
         cdl_option CYGBLD_GLOBAL_CFLAGS {
             display "Global compiler flags"
             flavor  data
             no_define
-            default_value { "-mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" }
+            default_value { (CYGHWR_THUMB ? "-mthumb " : "") . (CYGBLD_ARM_ENABLE_THUMB_INTERWORK ? "-mthumb-interwork " : "") . "-mcpu=arm7tdmi -mno-short-load-words -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" }
             description   "
                 This option controls the global compiler flags which are used to
                 compile all packages by default. Individual packages may define
                 options which override these global flags."
         }
 
         cdl_option CYGBLD_GLOBAL_LDFLAGS {
             display "Global linker flags"
             flavor  data
             no_define
-            default_value { "-mcpu=arm7tdmi -mno-short-load-words -Wl,--gc-sections -Wl,-static -g -nostdlib" }
+            default_value { (CYGHWR_THUMB ? "-mthumb " : "") . (CYGBLD_ARM_ENABLE_THUMB_INTERWORK ? "-mthumb-interwork " : "") . "-mcpu=arm7tdmi -mno-short-load-words -Wl,--gc-sections -Wl,-static -g -nostdlib" }
             description   "
                 This option controls the global linker flags. Individual
                 packages may define options which override these global flags."
         }
     }
cvs diff: Diffing hal/arm/at91/var/current/include
cvs diff: Diffing hal/arm/at91/var/current/src


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]