This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix some bugs for Score, please review it.


Hi Mei,

1. Fix internal error: fixup not contained within frag.

gas/config/
* tc-score.c (build_relax_frag): Compute correct tc_frag_data.fixp. 2. Change .rel.dyn section type from PROGBITS to REL to make readelf print .rel.dyn
section content.


bfd/
* elf32-score.c (score_elf_rel_dyn_section): Replace bfd_make_section
with bfd_make_section_with_flags.
(_bfd_score_elf_create_dynamic_sections): Ditto.
(score_elf_create_got_section): Ditto.
3. Redefine section type value because of conflict.


include/elf/
* score.h (EF_SCORE_PIC): Redefine EF_SCORE_PIC as 0x80000000.
(EF_SCORE_FIXDEP): Redefine EF_SCORE_FIXDEP as 0x40000000.
(EF_SCORE_HASENTRY): Delete.
bfd/
* elf32-score.c (score_elf_final_link_relocate): Delete referrence to
EF_SCORE_HASENTRY.

Applied - sorry about the delay.


Cheers
  Nick


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]