* aix386-core.c, aoutf1.h, cisco-core.c, elfcode.h, hppabsd-core.c,

hpux-core.c, irix-core.c, lynx-core.c, osf-core.c, ptrace-core.c,
	rs6000-core.c, trad-core.c:  Remove SEC_ALLOC flag from .reg
	sections, .reg sections are not allocated and contain debug
	information only.
	* osf-core.c (make_bfd_asection, osf_core_core_file_p):  Use
	bfd_make_section_anyway instead of building unique section names.
This commit is contained in:
Peter Schauer 1994-07-12 19:14:09 +00:00
parent 840846dac5
commit 57a814a93e
2 changed files with 18 additions and 5 deletions

View file

@ -1,3 +1,13 @@
Tue Jul 12 12:08:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* aix386-core.c, aoutf1.h, cisco-core.c, elfcode.h, hppabsd-core.c,
hpux-core.c, irix-core.c, lynx-core.c, osf-core.c, ptrace-core.c,
rs6000-core.c, trad-core.c: Remove SEC_ALLOC flag from .reg
sections, .reg sections are not allocated and contain debug
information only.
* osf-core.c (make_bfd_asection, osf_core_core_file_p): Use
bfd_make_section_anyway instead of building unique section names.
Tue Jul 12 11:41:22 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
* libelf.h (bfd_elf32_swap_symbol_in): Declare.

View file

@ -3417,7 +3417,7 @@ bfd_prstatus (abfd, descdata, descsz, filepos)
return false;
newsect->_raw_size = sizeof (status->pr_reg);
newsect->filepos = filepos + (long) &status->pr_reg;
newsect->flags = SEC_ALLOC | SEC_HAS_CONTENTS;
newsect->flags = SEC_HAS_CONTENTS;
newsect->alignment_power = 2;
if ((core_prstatus (abfd) = bfd_alloc (abfd, descsz)) != NULL)
{
@ -3462,7 +3462,7 @@ bfd_fpregset (abfd, descdata, descsz, filepos)
return false;
newsect->_raw_size = descsz;
newsect->filepos = filepos;
newsect->flags = SEC_ALLOC | SEC_HAS_CONTENTS;
newsect->flags = SEC_HAS_CONTENTS;
newsect->alignment_power = 2;
return true;
}
@ -5632,9 +5632,12 @@ elf_link_output_sym (finfo, name, elfsym, input_sec)
output_symbol_hook = get_elf_backend_data (finfo->output_bfd)->
elf_backend_link_output_symbol_hook;
if (! ((*output_symbol_hook)
(finfo->output_bfd, finfo->info, name, elfsym, input_sec)))
return false;
if (output_symbol_hook != NULL)
{
if (! ((*output_symbol_hook)
(finfo->output_bfd, finfo->info, name, elfsym, input_sec)))
return false;
}
if (name == (const char *) NULL || *name == '\0')
elfsym->st_name = 0;