diff options
author | Alan Modra <amodra@gmail.com> | 2000-09-18 12:22:43 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2000-09-18 12:22:43 +0000 |
commit | 25f7275229d72c4a5449a1dbb49c3a3de2a92536 (patch) | |
tree | f803ca731221b083d5f286351fe9e24e57d87ad6 /ld | |
parent | fdb28ac40143fc026508662a4df94a2582e6bf99 (diff) | |
download | gdb-25f7275229d72c4a5449a1dbb49c3a3de2a92536.zip gdb-25f7275229d72c4a5449a1dbb49c3a3de2a92536.tar.gz gdb-25f7275229d72c4a5449a1dbb49c3a3de2a92536.tar.bz2 |
Group stub sections.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 6 | ||||
-rw-r--r-- | ld/emultempl/hppaelf.em | 11 |
2 files changed, 12 insertions, 5 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index c77f8f8..5c5b0a6 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2000-09-18 Alan Modra <alan@linuxcare.com.au> + + * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename + stub_name param to stub_sec_name. + (hppaelf_finish): Modify call to elf32_hppa_size_stubs. + 2000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG> * emultempl/m68kelf.em: New file. diff --git a/ld/emultempl/hppaelf.em b/ld/emultempl/hppaelf.em index fa32772..3455cc8 100644 --- a/ld/emultempl/hppaelf.em +++ b/ld/emultempl/hppaelf.em @@ -211,8 +211,8 @@ hook_in_stub (info, lp) immediately before INPUT_SECTION. */ static asection * -hppaelf_add_stub_section (stub_name, input_section) - const char *stub_name; +hppaelf_add_stub_section (stub_sec_name, input_section) + const char *stub_sec_name; asection *input_section; { asection *stub_sec; @@ -222,7 +222,7 @@ hppaelf_add_stub_section (stub_name, input_section) lang_output_section_statement_type *os; struct hook_stub_info info; - stub_sec = bfd_make_section_anyway (stub_file->the_bfd, stub_name); + stub_sec = bfd_make_section_anyway (stub_file->the_bfd, stub_sec_name); if (stub_sec == NULL) goto err_ret; @@ -288,9 +288,10 @@ hppaelf_finish () return; /* Call into the BFD backend to do the real work. */ - if (! elf32_hppa_size_stubs (stub_file->the_bfd, - multi_subspace, + if (! elf32_hppa_size_stubs (output_bfd, + stub_file->the_bfd, &link_info, + multi_subspace, &hppaelf_add_stub_section, &hppaelf_layaout_sections_again)) { |