* freebsd.h (Target_freebsd::do_adjust_elf_header): Use size
authorIan Lance Taylor <ian@airs.com>
Wed, 1 Jul 2009 16:21:36 +0000 (16:21 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 1 Jul 2009 16:21:36 +0000 (16:21 +0000)
instead of 32.

gold/ChangeLog
gold/freebsd.h

index efa806f21318ab280379201542b11ffc96e46c39..1c854efe288f9d3f9bf76ed9f5676f6f7db54606 100644 (file)
@@ -1,3 +1,8 @@
+2009-07-01  Ian Lance Taylor  <ian@airs.com>
+
+       * freebsd.h (Target_freebsd::do_adjust_elf_header): Use size
+       instead of 32.
+
 2009-06-24  Ian Lance Taylor  <iant@google.com>
 
        PR 10156
index f98efafe4703e6fe4b9dd97d812f84f0ade24fcd..de697357f41f1bb10d89f857bf178f7924d49bc5 100644 (file)
@@ -68,15 +68,15 @@ Target_freebsd<size, big_endian>::do_adjust_elf_header(unsigned char* view,
 {
   if (this->osabi_ != elfcpp::ELFOSABI_NONE)
     {
-      gold_assert(len == elfcpp::Elf_sizes<32>::ehdr_size);
+      gold_assert(len == elfcpp::Elf_sizes<size>::ehdr_size);
 
-      elfcpp::Ehdr<32, false> ehdr(view);
+      elfcpp::Ehdr<size, false> ehdr(view);
       unsigned char e_ident[elfcpp::EI_NIDENT];
       memcpy(e_ident, ehdr.get_e_ident(), elfcpp::EI_NIDENT);
 
       e_ident[elfcpp::EI_OSABI] = this->osabi_;
 
-      elfcpp::Ehdr_write<32, false> oehdr(view);
+      elfcpp::Ehdr_write<size, false> oehdr(view);
       oehdr.put_e_ident(e_ident);
     }
 }
This page took 0.02916 seconds and 4 git commands to generate.