Fix a bug that caused the relocs for linker set members in shared
libraries to come out as 1-byte relocations instead of 4-byte relocations. Submitted by: Doug Rabson <dfr@nlsystems.com>
This commit is contained in:
parent
220381edef
commit
08224caae1
@ -27,7 +27,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* $Id: md.h,v 1.16 1997/02/22 15:46:34 peter Exp $
|
||||
*/
|
||||
|
||||
#ifndef __MD_H__
|
||||
@ -95,6 +95,8 @@
|
||||
|
||||
#define md_get_rt_segment_addend(r,a) md_get_addend(r,a)
|
||||
|
||||
#define RELOC_INIT_SEGMENT_RELOC(r) ((r)->r_length = 2)
|
||||
|
||||
/* Width of a Global Offset Table entry */
|
||||
#define GOT_ENTRY_SIZE 4
|
||||
typedef long got_t;
|
||||
|
@ -27,7 +27,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id$
|
||||
* $Id: md.h,v 1.16 1997/02/22 15:46:34 peter Exp $
|
||||
*/
|
||||
|
||||
#ifndef __MD_H__
|
||||
@ -95,6 +95,8 @@
|
||||
|
||||
#define md_get_rt_segment_addend(r,a) md_get_addend(r,a)
|
||||
|
||||
#define RELOC_INIT_SEGMENT_RELOC(r) ((r)->r_length = 2)
|
||||
|
||||
/* Width of a Global Offset Table entry */
|
||||
#define GOT_ENTRY_SIZE 4
|
||||
typedef long got_t;
|
||||
|
Loading…
Reference in New Issue
Block a user