Re: "excessively large" library built in standalone ipset build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 2008-11-21 00:43, JC Janos wrote:
>On Thu, Nov 20, 2008 at 2:56 PM, Jan Engelhardt <jengelh@xxxxxxxxxx> wrote:
>> I wonder. Can you give a dump of the following command?
>>
>>        readelf -S libipset_ipportnethash.so
>
>(Adding yet another tool I need to learn about ...)
>
>readelf -S libipset_ipportnethash.so
>There are 34 section headers, starting at offset 0x202788:
>
>Section Headers:
>  [Nr] Name              Type             Address           Offset
>       Size              EntSize          Flags  Link  Info  Align
>  [15] .eh_frame         PROGBITS         0000000000001b58  00001b58
>       00000000000001b4  0000000000000000   A       0     0     8
>  [16] .ctors            PROGBITS         0000000000201cf8  00201cf8
>       0000000000000018  0000000000000000  WA       0     0     8

Just as I thought -- I have seen this before, and have a test case.
This is a real killer - because ld is the culprit that produces the
big file (only x86_64), but a *syntactic change* in the C file is
also needed to make it show.
Not ipset related, move along :-)
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux