Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157151601
D21911.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
940 B
Referenced Files
None
Subscribers
None
D21911.diff
View Options
Index: head/contrib/binutils/bfd/elfxx-mips.c
===================================================================
--- head/contrib/binutils/bfd/elfxx-mips.c
+++ head/contrib/binutils/bfd/elfxx-mips.c
@@ -3966,7 +3966,7 @@
*namep = bfd_elf_string_from_elf_section (input_bfd,
symtab_hdr->sh_link,
sym->st_name);
- if (*namep == '\0')
+ if (*namep == NULL || **namep == '\0')
*namep = bfd_section_name (input_bfd, sec);
target_is_16_bit_code_p = (sym->st_other == STO_MIPS16);
Index: head/contrib/binutils/binutils/stabs.c
===================================================================
--- head/contrib/binutils/binutils/stabs.c
+++ head/contrib/binutils/binutils/stabs.c
@@ -2668,7 +2668,7 @@
++*pp;
voffset &= 0x7fffffff;
- if (**pp == ';' || *pp == '\0')
+ if (**pp == ';' || **pp == '\0')
{
/* Must be g++ version 1. */
context = DEBUG_TYPE_NULL;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, May 19, 7:41 PM (17 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33326457
Default Alt Text
D21911.diff (940 B)
Attached To
Mode
D21911: binutils: Fix bugs found by -Wpointer-compare
Attached
Detach File
Event Timeline
Log In to Comment