diff options
author | Michael Meissner <gnu@the-meissners.org> | 1996-01-22 23:55:25 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1996-01-22 23:55:25 +0000 |
commit | 05f927dd465c74005d579f6a6ac92fe5595e5da0 (patch) | |
tree | bb85a19d57b048f436f96efcb6754118d0724ccd /bfd/elflink.h | |
parent | 79ae32abcc24b0ba8d615334b863bd73515beed8 (diff) | |
download | gdb-05f927dd465c74005d579f6a6ac92fe5595e5da0.zip gdb-05f927dd465c74005d579f6a6ac92fe5595e5da0.tar.gz gdb-05f927dd465c74005d579f6a6ac92fe5595e5da0.tar.bz2 |
Make 64k .sdata and .sdata2 sections work; fix typos
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r-- | bfd/elflink.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h index a1b4b14..283d0c7 100644 --- a/bfd/elflink.h +++ b/bfd/elflink.h @@ -3208,7 +3208,7 @@ elf_create_pointer_linker_section (abfd, info, lsect, h, rel) if (info->shared) { /* If we are generating a shared object, we need to - output a R_PPC_RELATIVE reloc so that the + output a R_<xxx>_RELATIVE reloc so that the dynamic linker can adjust this GOT entry. */ BFD_ASSERT (lsect->rel_section != NULL); lsect->rel_section->_raw_size += sizeof (Elf_External_Rela); @@ -3276,10 +3276,6 @@ elf_finish_pointer_linker_section (output_bfd, input_bfd, info, lsect, h, reloca BFD_ASSERT (lsect != NULL); - if (!lsect->section->contents) - lsect->section->contents = (unsigned char *) bfd_zalloc (output_bfd, - lsect->section->_raw_size); - if (h != NULL) /* global symbol */ { linker_section_ptr = _bfd_elf_find_pointer_linker_section (h->linker_section_pointer, |