[Bug ld/5765] New: Misprint in _bfd_elf_section_already_linked

2008-02-15 Thread ilmalakhov at yandex dot ru
Hi! Consider this code: bfd/elflink.c: . . . void _bfd_elf_section_already_linked (bfd *abfd, struct bfd_section *sec, struct bfd_link_info *info) { . . . switch (flags & SEC_LINK_DUPLICATES) { . . . case SEC_LINK_DUPLICATES_DISC

[Bug binutils/5713] strings: use '-0' as option will meet infinite loop

2008-02-15 Thread chul at cn dot fujitsu dot com
--- Additional Comments From chul at cn dot fujitsu dot com 2008-02-15 09:41 --- Hi, I have tried it out. It' Ok now. And I found if the "num" is the hex number in "-n num" option , the result is a little strange and 0xA can't be recognized. So I made a patch for it. Hope it is us

[Bug binutils/5713] strings: use '-0' as option will meet infinite loop

2008-02-15 Thread chul at cn dot fujitsu dot com
--- Additional Comments From chul at cn dot fujitsu dot com 2008-02-15 09:44 --- Created an attachment (id=2268) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2268&action=view) Used for "-n num" when num is hexadecimal or octal -- http://sourceware.org/bugzilla/show_bug.cgi

[Bug ld/5765] Misprint in _bfd_elf_section_already_linked

2008-02-15 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2008-02-15 10:13 --- Indeed. Nicely spotted. It's been that way since 2005-02-21 -- What|Removed |Added

[Bug binutils/5713] strings: use '-0' as option will meet infinite loop

2008-02-15 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2008-02-15 10:23 --- Created an attachment (id=2269) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2269&action=view) Revised patch which removes integer_arg() -- What|Removed |Added --

[Bug binutils/5713] strings: use '-0' as option will meet infinite loop

2008-02-15 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2008-02-15 10:25 --- Hi Chu, Thanks for pointing that out. In fact the integer_arg() function is completely redundant as the C library function strtoul() does everything that is needed. So I have applied a revised version of the p

[Bug ld/5765] Misprint in _bfd_elf_section_already_linked

2008-02-15 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2008-02-15 10:39 --- http://sourceware.org/ml/binutils-cvs/2008-02/msg00085.html http://sourceware.org/ml/binutils/2008-02/msg00155.html -- What|Removed |Added -

[Bug ld/5761] Segfault in make_abs().

2008-02-15 Thread osv at javad dot com
--- Additional Comments From osv at javad dot com 2008-02-15 12:01 --- Fortunately the problem has nothing to do with object files. It's the linker command file that does matter, so here is a simple way to reproduce the segfault: $ cat linker.cmd MEMORY { RAM : ORIGIN = 0, LENGT

[Bug ld/5761] Segfault in make_abs().

2008-02-15 Thread amodra at bigpond dot net dot au
-- What|Removed |Added Status|NEW |ASSIGNED Last reconfirmed|-00-00 00:00:00 |2008-02-16 00:06:46 date|

[Bug ld/5761] Segfault in make_abs().

2008-02-15 Thread amodra at bigpond dot net dot au
-- What|Removed |Added AssignedTo|unassigned at sources dot |amodra at bigpond dot net |redhat dot com |dot au Status|ASSIGNED

[Bug ld/5761] Segfault in make_abs().

2008-02-15 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2008-02-16 00:08 --- http://sourceware.org/ml/binutils/2008-02/msg00158.html -- What|Removed |Added