[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/16515] New: objcopy cannot weaken undefined symbols
From: |
srk31 at srcf dot ucam.org |
Subject: |
[Bug binutils/16515] New: objcopy cannot weaken undefined symbols |
Date: |
Fri, 31 Jan 2014 12:33:43 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=16515
Bug ID: 16515
Summary: objcopy cannot weaken undefined symbols
Product: binutils
Version: 2.22
Status: NEW
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: srk31 at srcf dot ucam.org
Created attachment 7379
--> http://sourceware.org/bugzilla/attachment.cgi?id=7379&action=edit
Patch to fix the bug
It is meaningful to weaken an undefined symbol. Currently objcopy silently
omits to do this when asked.
The attached patch fixes this for me.
(Note that by contrast, localizing and globalizing -- which are done
immediately after weakening in the code -- are, I think, only meaningful for
defined symbols. Perhaps this explains why the weakening code doesn't handle
the undefined case.)
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/16515] New: objcopy cannot weaken undefined symbols,
srk31 at srcf dot ucam.org <=