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


 354         { 257,  1,      257,    0 },            /* nodename[] */
 355         { 514,  1,      257,    0 },            /* release[] */
 356         { 771,  1,      257,    0 },            /* version[] */
 357         { 1028, 1,      257,    0 },            /* machine[] */
 358 };
 359 
 360 
 361 static const sl_prfdinfo_layout_t prfdinfo_layout = {
 362         { 0,    1088,   0,      0 },            /* sizeof (prfdinfo_t) */
 363         { 0,    4,      0,      0 },            /* pr_fd */
 364         { 4,    4,      0,      0 },            /* pr_mode */
 365         { 8,    4,      0,      0 },            /* pr_uid */
 366         { 12,   4,      0,      0 },            /* pr_gid */
 367         { 16,   4,      0,      0 },            /* pr_major */
 368         { 20,   4,      0,      0 },            /* pr_minor */
 369         { 24,   4,      0,      0 },            /* pr_rmajor */
 370         { 28,   4,      0,      0 },            /* pr_rminor */
 371         { 32,   8,      0,      0 },            /* pr_ino */
 372         { 40,   8,      0,      0 },            /* pr_offset */
 373         { 48,   8,      0,      0 },            /* pr_size */
 374         { 56,   4,      0,      0 },            /* pr_filefags */
 375         { 60,   4,      0,      0 },            /* pr_fdflags */
 376         { 64,   1,      1024,   0 },            /* pr_path */
 377 };
 378 
 379 
 380 static const sl_arch_layout_t layout_sparcv9 = {
 381         &auxv_layout,
 382         &fltset_layout,
 383         &lwpsinfo_layout,
 384         &lwpstatus_layout,
 385         &prcred_layout,
 386         &priv_impl_info_layout,
 387         &prpriv_layout,
 388         &psinfo_layout,
 389         &pstatus_layout,
 390         &prgregset_layout,
 391         &prpsinfo_layout,
 392         &prstatus_layout,
 393         &sigaction_layout,
 394         &siginfo_layout,
 395         &sigset_layout,
 396         &stack_layout,


 354         { 257,  1,      257,    0 },            /* nodename[] */
 355         { 514,  1,      257,    0 },            /* release[] */
 356         { 771,  1,      257,    0 },            /* version[] */
 357         { 1028, 1,      257,    0 },            /* machine[] */
 358 };
 359 
 360 
 361 static const sl_prfdinfo_layout_t prfdinfo_layout = {
 362         { 0,    1088,   0,      0 },            /* sizeof (prfdinfo_t) */
 363         { 0,    4,      0,      0 },            /* pr_fd */
 364         { 4,    4,      0,      0 },            /* pr_mode */
 365         { 8,    4,      0,      0 },            /* pr_uid */
 366         { 12,   4,      0,      0 },            /* pr_gid */
 367         { 16,   4,      0,      0 },            /* pr_major */
 368         { 20,   4,      0,      0 },            /* pr_minor */
 369         { 24,   4,      0,      0 },            /* pr_rmajor */
 370         { 28,   4,      0,      0 },            /* pr_rminor */
 371         { 32,   8,      0,      0 },            /* pr_ino */
 372         { 40,   8,      0,      0 },            /* pr_offset */
 373         { 48,   8,      0,      0 },            /* pr_size */
 374         { 56,   4,      0,      0 },            /* pr_fileflags */
 375         { 60,   4,      0,      0 },            /* pr_fdflags */
 376         { 64,   1,      1024,   0 },            /* pr_path[] */
 377 };
 378 
 379 
 380 static const sl_arch_layout_t layout_sparcv9 = {
 381         &auxv_layout,
 382         &fltset_layout,
 383         &lwpsinfo_layout,
 384         &lwpstatus_layout,
 385         &prcred_layout,
 386         &priv_impl_info_layout,
 387         &prpriv_layout,
 388         &psinfo_layout,
 389         &pstatus_layout,
 390         &prgregset_layout,
 391         &prpsinfo_layout,
 392         &prstatus_layout,
 393         &sigaction_layout,
 394         &siginfo_layout,
 395         &sigset_layout,
 396         &stack_layout,