diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2013-01-10 20:08:03 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2013-01-10 20:08:03 +0000 |
commit | e4492aa0d87eda6a9442625b59f713bcf4f08922 (patch) | |
tree | dedd3225b451ed177cbb286c27b4adbf51768c59 /ld/emultempl/tic6xdsbt.em | |
parent | 68ffbac672c0d7f2566e715f878e65ed9b44795f (diff) | |
download | gdb-e4492aa0d87eda6a9442625b59f713bcf4f08922.zip gdb-e4492aa0d87eda6a9442625b59f713bcf4f08922.tar.gz gdb-e4492aa0d87eda6a9442625b59f713bcf4f08922.tar.bz2 |
Remove trailing white spaces in ld
* deffilep.y: Remove trailing white spaces.
* elf-hints-local.h: Likewise.
* ldexp.c: Likewise.
* ldlang.h: Likewise.
* ldmisc.c: Likewise.
* ldwrite.c: Likewise.
* pe-dll.c: Likewise.
* emulparams/criself.sh: Likewise.
* emulparams/crislinux.sh: Likewise.
* emulparams/elf32_tic6x_le.sh: Likewise.
* emulparams/elf32bmipn32-defs.sh: Likewise.
* emulparams/elf32mb_linux.sh: Likewise.
* emulparams/elf32mep.sh: Likewise.
* emulparams/elf32microblaze.sh: Likewise.
* emulparams/elf32ppc.sh: Likewise.
* emulparams/elf64_s390.sh: Likewise.
* emulparams/elf64alpha.sh: Likewise.
* emulparams/elf_s390.sh: Likewise.
* emulparams/elf_x86_64.sh: Likewise.
* emulparams/tic80coff.sh: Likewise.
* emultempl/aix.em: Likewise.
* emultempl/avrelf.em: Likewise.
* emultempl/cr16elf.em: Likewise.
* emultempl/pe.em: Likewise.
* emultempl/pep.em: Likewise.
* emultempl/spuelf.em: Likewise.
* emultempl/tic6xdsbt.em: Likewise.
Diffstat (limited to 'ld/emultempl/tic6xdsbt.em')
-rw-r--r-- | ld/emultempl/tic6xdsbt.em | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/ld/emultempl/tic6xdsbt.em b/ld/emultempl/tic6xdsbt.em index 87d3b35..01923b3 100644 --- a/ld/emultempl/tic6xdsbt.em +++ b/ld/emultempl/tic6xdsbt.em @@ -75,19 +75,19 @@ compare_output_sec_vma (const void *a, const void *b) asection *asec = *(asection **) a, *bsec = *(asection **) b; asection *aout = asec->output_section, *bout = bsec->output_section; bfd_vma avma, bvma; - + /* If there's no output section for some reason, compare equal. */ if (!aout || !bout) return 0; - + avma = aout->vma + asec->output_offset; bvma = bout->vma + bsec->output_offset; - + if (avma > bvma) return 1; else if (avma < bvma) return -1; - + return 0; } @@ -109,10 +109,10 @@ gld${EMULATION_NAME}_after_allocation (void) { bfd *abfd = is->the_bfd; asection *sec; - + if ((abfd->flags & (EXEC_P | DYNAMIC)) != 0) continue; - + for (sec = abfd->sections; sec != NULL; sec = sec->next) { asection *out_sec = sec->output_section; @@ -128,7 +128,7 @@ gld${EMULATION_NAME}_after_allocation (void) if (sec_count == list_size) { list_size *= 2; - sec_list = (asection **) + sec_list = (asection **) xrealloc (sec_list, list_size * sizeof (asection *)); } @@ -136,13 +136,13 @@ gld${EMULATION_NAME}_after_allocation (void) } } } - + qsort (sec_list, sec_count, sizeof (asection *), &compare_output_sec_vma); - + if (elf32_tic6x_fix_exidx_coverage (sec_list, sec_count, &link_info, merge_exidx_entries)) layout_changed = 1; - + free (sec_list); } |