Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1566711

Re: [PATCH] nvdimm: constify device_type structures

From Julia Lawall <julia.lawall@lip6.fr>
Newsgroups linux.kernel
Subject Re: [PATCH] nvdimm: constify device_type structures
Date 2017-01-25 17:10 +0100
Message-ID <t3yiZ-3WA-21@gated-at.bofh.it> (permalink)
References (1 earlier) <t3lF7-4at-7@gated-at.bofh.it> <t3lON-4dZ-7@gated-at.bofh.it> <t3lON-4dZ-9@gated-at.bofh.it> <t3pz3-6Kn-1@gated-at.bofh.it> <t3yiZ-3WA-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On Wed, 25 Jan 2017, Joe Perches wrote:

> On Wed, 2017-01-25 at 07:49 +0100, Julia Lawall wrote:
> > What does the data column actually represent?  I tried size on the .o file
> > generated from:
> >
> > commit a65f0161f4d69d6738d4821e649448312cd818e2
> > Author: Stephen Rothwell <sfr@canb.auug.org.au>
> > Date:   Tue Jan 17 15:22:28 2017 +1100
> >
> > with CONFIG_X86_64=y and I get:
> >
> >    text	   data	    bss	    dec	    hex	filename
> >   19726	   3480	     16	  23222	   5ab6	drivers/nvdimm/namespace_devs.o
> >
> > but when I run objdump -sh drivers/nvdimm/namespace_devs.o, I find a .data
> > segment of size 1008 and a .data.unlikely segment of size 8, which don't
> > match up with the results of size.
>
> Likely you have dynamic_debug enabled and you
> need to include these additional sections:
>
> 	__jump_table
> 	__verbose
>
> If user_mode_linux is enabled, add sections:
>
> 	.fini_array
> 	.init_array

Ah, thanks for the explanations.

julia

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] nvdimm: constify device_type structures Bhumika Goyal <bhumirks@gmail.com> - 2017-01-24 20:30 +0100
  Re: [PATCH] nvdimm: constify device_type structures Dan Williams <dan.j.williams@intel.com> - 2017-01-24 21:00 +0100
  Re: [PATCH] nvdimm: constify device_type structures Joe Perches <joe@perches.com> - 2017-01-25 03:40 +0100
    Re: [PATCH] nvdimm: constify device_type structures Dan Williams <dan.j.williams@intel.com> - 2017-01-25 03:50 +0100
      Re: [PATCH] nvdimm: constify device_type structures Joe Perches <joe@perches.com> - 2017-01-25 03:50 +0100
        Re: [PATCH] nvdimm: constify device_type structures Julia Lawall <julia.lawall@lip6.fr> - 2017-01-25 07:50 +0100
          Re: [PATCH] nvdimm: constify device_type structures Julia Lawall <julia.lawall@lip6.fr> - 2017-01-25 17:10 +0100
          Re: [PATCH] nvdimm: constify device_type structures Joe Perches <joe@perches.com> - 2017-01-25 17:10 +0100
            Re: [PATCH] nvdimm: constify device_type structures Bhumika Goyal <bhumirks@gmail.com> - 2017-01-25 17:20 +0100

csiph-web