Print this page
4839 3294 generated elfdump struct layouts by hand, shouldn't have

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/elfdump/common/struct_layout_sparcv9.c
          +++ new/usr/src/cmd/sgs/elfdump/common/struct_layout_sparcv9.c
↓ open down ↓ 363 lines elided ↑ open up ↑
 364  364          { 4,    4,      0,      0 },            /* pr_mode */
 365  365          { 8,    4,      0,      0 },            /* pr_uid */
 366  366          { 12,   4,      0,      0 },            /* pr_gid */
 367  367          { 16,   4,      0,      0 },            /* pr_major */
 368  368          { 20,   4,      0,      0 },            /* pr_minor */
 369  369          { 24,   4,      0,      0 },            /* pr_rmajor */
 370  370          { 28,   4,      0,      0 },            /* pr_rminor */
 371  371          { 32,   8,      0,      0 },            /* pr_ino */
 372  372          { 40,   8,      0,      0 },            /* pr_offset */
 373  373          { 48,   8,      0,      0 },            /* pr_size */
 374      -        { 56,   4,      0,      0 },            /* pr_filefags */
      374 +        { 56,   4,      0,      0 },            /* pr_fileflags */
 375  375          { 60,   4,      0,      0 },            /* pr_fdflags */
 376      -        { 64,   1,      1024,   0 },            /* pr_path */
      376 +        { 64,   1,      1024,   0 },            /* pr_path[] */
 377  377  };
 378  378  
 379  379  
 380  380  static const sl_arch_layout_t layout_sparcv9 = {
 381  381          &auxv_layout,
 382  382          &fltset_layout,
 383  383          &lwpsinfo_layout,
 384  384          &lwpstatus_layout,
 385  385          &prcred_layout,
 386  386          &priv_impl_info_layout,
↓ open down ↓ 22 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX