* dwarf.c (dwarf_select_sections_by_name): If the entry's value is
zero then clear the corresponding variable.
(dwarf_select_sections_by_letters): Likewise.
* testsuite/binutils-all/debuginfo.exp: Expect -WE and -wE
debuginfod tests to fail.
+2022-06-30 Nick Clifton <nickc@redhat.com>
+
+ * dwarf.c (dwarf_select_sections_by_name): If the entry's value is
+ zero then clear the corresponding variable.
+ (dwarf_select_sections_by_letters): Likewise.
+ * testsuite/binutils-all/debuginfo.exp: Expect -WE and -wE
+ debuginfod tests to fail.
+
2022-06-28 Nick Clifton <nickc@redhat.com>
PR 29267
if (strncmp (p, entry->option, len) == 0
&& (p[len] == ',' || p[len] == '\0'))
{
- * entry->variable = entry->val;
+ if (entry->val == 0)
+ * entry->variable = 0;
+ else
+ * entry->variable = entry->val;
result |= entry->val;
p += len;
{
if (entry->letter == * letters)
{
- * entry->variable |= entry->val;
+ if (entry->val == 0)
+ * entry->variable = 0;
+ else
+ * entry->variable |= entry->val;
result |= entry->val;
break;
}
test_fetch_debugaltlink $OBJDUMP "-Wk"
set test "disabling debuginfod access"
- # setup_xfail *-*-*
+ setup_xfail *-*-*
test_fetch_debuglink $OBJDUMP "-W -WE"
set test "debuginfod"
test_fetch_debugaltlink $READELF "-wk"
set test "disabling debuginfod access"
- # setup_xfail *-*-*
+ setup_xfail *-*-*
test_fetch_debuglink $READELF "-w -wE"
set test "debuginfod"