[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/5765] New: Misprint in _bfd_elf_section_already_linked
From: |
ilmalakhov at yandex dot ru |
Subject: |
[Bug ld/5765] New: Misprint in _bfd_elf_section_already_linked |
Date: |
15 Feb 2008 09:39:46 -0000 |
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_DISCARD:
. . .
case SEC_LINK_DUPLICATES_ONE_ONLY:
. . .
case SEC_LINK_DUPLICATES_SAME_SIZE:
The expression in switch does not correspond to the definitions in
bfd.h:
. . .
#define SEC_LINK_DUPLICATES 0x40000
. . .
#define SEC_LINK_DUPLICATES_DISCARD 0x0
. . .
#define SEC_LINK_DUPLICATES_ONE_ONLY 0x80000
. . .
#define SEC_LINK_DUPLICATES_SAME_SIZE 0x100000
--
Summary: Misprint in _bfd_elf_section_already_linked
Product: binutils
Version: 2.19 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: ilmalakhov at yandex dot ru
CC: bug-binutils at gnu dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=5765
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug ld/5765] New: Misprint in _bfd_elf_section_already_linked,
ilmalakhov at yandex dot ru <=