aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-05-20 16:04:59 +0000
committerIan Lance Taylor <ian@airs.com>1994-05-20 16:04:59 +0000
commit497c543457bbdabe61c03733d2a44167bf354dae (patch)
tree4c2207e298b66fa12ea3ecd088a3e5b2c6d6b640 /ld/ldlang.c
parent09985c960d737684e85d60dcc5796e2f1e8b6b45 (diff)
downloadgdb-497c543457bbdabe61c03733d2a44167bf354dae.zip
gdb-497c543457bbdabe61c03733d2a44167bf354dae.tar.gz
gdb-497c543457bbdabe61c03733d2a44167bf354dae.tar.bz2
* elf.c (_bfd_elf_make_section_from_shdr): New function, based on
code repeated three times in bfd_section_from_shdr in elfcode.h. * libelf.h (_bfd_elf_make_section_from_shdr): Declare. * elfcode.h (bfd_section_from_shdr): Use new function _bfd_elf_make_section_from_shdr to create BFD sections. If a reloc section does not use the main symbol table, or it is part of the process image, treat it as a normal section, not relocs. * elf32-mips.c (mips_elf_section_from_shdr): Use new function _bfd_elf_make_section_from_shdr.
Diffstat (limited to 'ld/ldlang.c')
0 files changed, 0 insertions, 0 deletions