mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-29 10:30:46 +00:00
2000-11-27 Kazu Hirata <kazu@hxi.com>
* config/obj-aout.h: Fix formatting. * config/obj-bout.h: Likewise. * config/obj-coff.c: Likewise. * config/obj-coff.h: Likewise. * config/obj-elf.h: Likewise. * config/obj-som.h: Likewise. * config/obj-vms.c: Likewise. * config/obj-vms.h: Likewise. * config/tc-h8300.h: Likewise. * config/tc-ns32k.h: Likewise. * config/tc-sparc.h: Likewise. * config/tc-tic54x.h: Likewise. * config/tc-z8k.h: Likewise.
This commit is contained in:
@@ -154,7 +154,7 @@ struct VMS_DBG_Symbol
|
||||
};
|
||||
|
||||
#define SYMTYPLST_SIZE (1<<4) /* 16; must be power of two */
|
||||
#define SYMTYP_HASH(x) ((unsigned)(x) & (SYMTYPLST_SIZE-1))
|
||||
#define SYMTYP_HASH(x) ((unsigned) (x) & (SYMTYPLST_SIZE-1))
|
||||
struct VMS_DBG_Symbol *VMS_Symbol_type_list[SYMTYPLST_SIZE];
|
||||
|
||||
/*
|
||||
@@ -268,8 +268,8 @@ static int Current_Object_Record_Type; /* Type of record in above */
|
||||
* Macros for moving data around. Must work on big-endian systems.
|
||||
*/
|
||||
#ifdef VMS /* These are more efficient for VMS->VMS systems */
|
||||
#define COPY_LONG(dest,val) ( *(long *)(dest) = (val) )
|
||||
#define COPY_SHORT(dest,val) ( *(short *)(dest) = (val) )
|
||||
#define COPY_LONG(dest,val) ( *(long *) (dest) = (val) )
|
||||
#define COPY_SHORT(dest,val) ( *(short *) (dest) = (val) )
|
||||
#else
|
||||
#define COPY_LONG(dest,val) md_number_to_chars ((dest), (val), 4)
|
||||
#define COPY_SHORT(dest,val) md_number_to_chars ((dest), (val), 2)
|
||||
@@ -699,15 +699,15 @@ vms_tir_stack_psect (Psect_Index, Offset, Force)
|
||||
switch (Sta_P(psect_width,offset_width))
|
||||
{
|
||||
case Sta_P(1,1): PUT_CHAR (TIR_S_C_STA_PB);
|
||||
PUT_CHAR ((char)(unsigned char) Psect_Index);
|
||||
PUT_CHAR ((char) (unsigned char) Psect_Index);
|
||||
PUT_CHAR ((char) Offset);
|
||||
break;
|
||||
case Sta_P(1,2): PUT_CHAR (TIR_S_C_STA_PW);
|
||||
PUT_CHAR ((char)(unsigned char) Psect_Index);
|
||||
PUT_CHAR ((char) (unsigned char) Psect_Index);
|
||||
PUT_SHORT (Offset);
|
||||
break;
|
||||
case Sta_P(1,4): PUT_CHAR (TIR_S_C_STA_PL);
|
||||
PUT_CHAR ((char)(unsigned char) Psect_Index);
|
||||
PUT_CHAR ((char) (unsigned char) Psect_Index);
|
||||
PUT_LONG (Offset);
|
||||
break;
|
||||
case Sta_P(2,1): PUT_CHAR (TIR_S_C_STA_WPB);
|
||||
|
||||
Reference in New Issue
Block a user