mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 18:08:24 +08:00
2001-07-11 H.J. Lu <hjl@gnu.org>
* elf64-alpha.c (elf64_alpha_check_relocs): Only use the same ALLOC|LOAD flags as the source section for debugging sections when creating the reloc section.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2001-07-11 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
|
* elf64-alpha.c (elf64_alpha_check_relocs): Only use the same
|
||||||
|
ALLOC|LOAD flags as the source section for debugging sections
|
||||||
|
when creating the reloc section.
|
||||||
|
|
||||||
2001-07-05 Jim Wilson <wilson@redhat.com>
|
2001-07-05 Jim Wilson <wilson@redhat.com>
|
||||||
|
|
||||||
* linker.c (_bfd_generic_link_add_one_symbol, case BIG): Use
|
* linker.c (_bfd_generic_link_add_one_symbol, case BIG): Use
|
||||||
|
@ -2589,8 +2589,13 @@ elf64_alpha_check_relocs (abfd, info, sec, relocs)
|
|||||||
sreloc = bfd_make_section (dynobj, rel_sec_name);
|
sreloc = bfd_make_section (dynobj, rel_sec_name);
|
||||||
if (sreloc == NULL
|
if (sreloc == NULL
|
||||||
|| !bfd_set_section_flags (dynobj, sreloc,
|
|| !bfd_set_section_flags (dynobj, sreloc,
|
||||||
((sec->flags & (SEC_ALLOC
|
(((sec->flags
|
||||||
| SEC_LOAD))
|
& SEC_DEBUGGING)
|
||||||
|
? (sec->flags
|
||||||
|
& (SEC_ALLOC
|
||||||
|
| SEC_LOAD))
|
||||||
|
: (SEC_ALLOC
|
||||||
|
| SEC_LOAD))
|
||||||
| SEC_HAS_CONTENTS
|
| SEC_HAS_CONTENTS
|
||||||
| SEC_IN_MEMORY
|
| SEC_IN_MEMORY
|
||||||
| SEC_LINKER_CREATED
|
| SEC_LINKER_CREATED
|
||||||
|
Reference in New Issue
Block a user