RLD entry (version 3)

The RLD Entry has been changed slightly from version 2.
    Field              Field  Off Leng         Description
    Name               Type   set

   IEWBRLD                              Binder RLD buffer, Version 3
   RLDH_BUFFER_ID      Char     0   8   Buffer identifier "IEWBRLD"
   RLDH_BUFFER_LENG    Binary   8   4   Length of the buffer,
                                           including the header
   RLDH_VERSION        Binary  12   1   Version identifier
   *** RESERVED ***    Binary  13   3   Reserved, must be zeros
   RLDH_ENTRY_LENG     Binary  16   4   Length of each entry
   RLDH_ENTRY_COUNT    Binary  20   4   Number of entries in the buffer
   *** RESERVED ***    Binary  24   8   Reserved, must be zeros
   RLDH_ENTRY_ORIGIN           32       First RLD entry
   RLD_ENTRY                            RLD entry
   RLD_TYPE            Binary   0   1   Adcon type
       X'10'                              Branch type (V-con)
       X'20'                              Nonbranch type (A-con)
       X'21'                              Address of class segment
       X'30'                              Pseudoregister (Q-con)
       X'40'                              Class or PRV length (CXD)
1      X'50'                            Loader token
       X'60'                            Relative immediate type
       X'70'                            Reference to environment
       X’80’                              Long_Displacement 20-bit 
                                            DL/DH offset (QY-con)
       Start of changeX’90’                              length of the individual PR (L-PR)End of change
2  RLD_STATUS          Binary   1   1   Adcon status
       X'01'                              References an unresolved symbol
       X'02'                              References a resolved symbol
       X'03'                              References a nonrelocatable
                                            symbol
1  RLD_RES_IDENT       Name     2   6   Name of section containing adcon
                                        ("P-pointer")
     RLD_RESIDENT_CHARS Binary  2   2     length of name in bytes
     RLD_RESIDENT_PTR  Pointer  4   4     pointer to name string
   RLD_ADCON_LENG      Binary   8   2   Adcon length
   RLD_RES_CLASS       Name    10   6   Name of class containing adcon
     RLD_CLASS_CHARS   Binary  10   2     length of name in bytes
     RLD_CLASS_PTR     Pointer 12   4     pointer to name string
   RLD_ELEM_OFFSET     Binary  16   4   Offset of the address constant
                                           within the containing element
2  RLD_CLASS_OFFSET    Binary  20   4   Offset of the address constant
                                           within the class segment
2  *** RESERVED ***    Binary  24   1   Reserved

   RLD_BIND_ATTR      Bit     25   1   Bind attributes
       1... ....                          Relocation sign (direction)
                                            '0'=positive, '1'=negative
       .1.. ....                          Set high order bit from
                                            AMODE of target
       ..1. ....                          Scope of reference
                                            '0'=internal, '1'=external
       ...1 ....                          High order bit of adcon
                                            reset by binder
       .... 1...                          Adcon is resident in a part (PD)
       .... ..1.                          Target of adcon marked XPLINK
       .... ...1                          Adcon is part of a group of conditional
                                            sequential adcons
    Field              Field  Off Leng           Description
    Name               Type   set

   RLD_XATTR_CLASS     Name    26   6   Extended attributes class
     RLD_XATTR_CLASS_CHARS
                       Binary  26   2     length of name in bytes
     RLD_XATTR_CLASS_PTR
                       Pointer 28   4     pointer to name string
   RLD_XATTR_OFFSET    Binary  32   4   Extended attributes element offset
   RLD_NAME_SPACE      Binary  36   1   Name space of reference
       X'00'                              Types 21, 40
       X'01'                              External reference (10, 20)
       X'02'                              Pseudoregisters (30)
       X'03'                              Parts (PR,PD) in writeable static
       X'04'-X'07'                        Available to language products
   *** RESERVED ***    Binary  37   1   Reserved, must be zeros
   RLD_TARGET          Name    38   6   Name of referenced symbol (for
                                           external references and Q-cons)
                                           or class (internal references
                                           and class references and lengths)
                                           ("R-Pointer")
     RLD_TARGET_CHARS  Binary  38   2     length of name in bytes
     RLD_TARGET_PTR    Pointer 40   4     pointer to name string
   *** RESERVED ***    Binary  44   2   Reserved, must be zeros
   RLD_RES_PART        Name    46   6   Name of resident part.
     RLD_RES_PART_CHARS Binary 46   2     length of name in bytes
     RLD_RES_PART_PTR  Pointer 48   4     pointer to name string
Note:
  1. Ignored on input.
  2. Recalculated by the binder.