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


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


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