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