Patchwork [committed] : VMS/ia64 add missing macro in fde-vms.c

login
register
mail settings
Submitter Tristan Gingold
Date Dec. 21, 2011, 8:54 a.m.
Message ID <FCEFA5BE-4729-4FFD-AFD5-4D83730635D3@adacore.com>
Download mbox | patch
Permalink /patch/132600/
State New
Headers show

Comments

Tristan Gingold - Dec. 21, 2011, 8:54 a.m.
Hi,

this is a minor adjustment after the move of fde-vms from gcc/ to libgcc/.  Macro UNW_IVMS_MODE was not defined.
Fixed by this patch, committed on trunk.

Tristan.

libgcc/
2011-12-21  Tristan Gingold  <gingold@adacore.com>

	* config/ia64/fde-vms.c (UNW_IVMS_MODE): Define.

Patch

--- a/libgcc/config/ia64/fde-vms.c
+++ b/libgcc/config/ia64/fde-vms.c
@@ -41,6 +41,8 @@ 
 #define SS$_NORMAL 1
 #endif
 
+#define UNW_IVMS_MODE(HEADER) (((HEADER) >> 44) & 0x3L)
+
 typedef struct
 {
   unsigned long start_offset;