diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2003-04-29 01:53:46 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2003-04-29 01:53:46 +0000 |
commit | c7996ad62885c79a8d94f98dd03e390c6a2d4551 (patch) | |
tree | f0f0b43bb5010844385b4de688854926d73e9edb /bfd/section.c | |
parent | 0ba6dca974b6df1fc1ac67608815cf5a2603856d (diff) | |
download | gdb-c7996ad62885c79a8d94f98dd03e390c6a2d4551.zip gdb-c7996ad62885c79a8d94f98dd03e390c6a2d4551.tar.gz gdb-c7996ad62885c79a8d94f98dd03e390c6a2d4551.tar.bz2 |
bfd/
2003-04-28 H.J. Lu <hjl@gnu.org>
* elfxx-ia64.c (elfNN_ia64_relax_section): Relax ldxmov during
the relax finalize pass.
* section.c (struct sec): Add need_finalize_relax and remove
flag11.
(STD_SECTION): Update struct sec initializer.
* bfd-in2.h: Regenerated.
include/
2003-04-28 H.J. Lu <hjl@gnu.org>
* bfdlink.h (bfd_link_info): Add relax_finalizing.
ld/
2003-04-28 H.J. Lu <hjl@gnu.org>
* ldlang.c (lang_process): Add the relax finalize pass.
* ldmain.c (main): Initialize link_info.relax_finalizing to
FALSE.
Diffstat (limited to 'bfd/section.c')
-rw-r--r-- | bfd/section.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/bfd/section.c b/bfd/section.c index 89f8126..04f439e 100644 --- a/bfd/section.c +++ b/bfd/section.c @@ -396,8 +396,10 @@ CODE_FRAGMENT . {* Bits used by various backends. *} . unsigned int has_tls_reloc:1; . +. {* Nonzero if this section needs the relax finalize pass. *} +. unsigned int need_finalize_relax:1; +. . {* Usused bits. *} -. unsigned int flag11:1; . unsigned int flag12:1; . unsigned int flag13:1; . unsigned int flag14:1; @@ -615,8 +617,8 @@ static const asymbol global_syms[] = /* linker_mark, linker_has_input, gc_mark, segment_mark, */ \ 0, 0, 1, 0, \ \ - /* sec_info_type, use_rela_p, has_tls_reloc, flag11, flag12, */ \ - 0, 0, 0, 0, 0, \ + /* sec_info_type, use_rela_p, has_tls_reloc, need_finalize_relax, flag12, */ \ + 0, 0, 0, 0, 0, \ \ /* flag13, flag14, flag15, flag16, flag20, flag24, */ \ 0, 0, 0, 0, 0, 0, \ |