projects
/
external
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Supported Tizen version parsing and verification
[external/binutils.git]
/
gold
/
object.h
diff --git
a/gold/object.h
b/gold/object.h
index
0b786a5
..
f6ee1b7
100644
(file)
--- a/
gold/object.h
+++ b/
gold/object.h
@@
-1,6
+1,6
@@
// object.h -- support for an object file for linking in gold -*- C++ -*-
// object.h -- support for an object file for linking in gold -*- C++ -*-
-// Copyright (C) 2006-201
8
Free Software Foundation, Inc.
+// Copyright (C) 2006-201
9
Free Software Foundation, Inc.
// Written by Ian Lance Taylor <iant@google.com>.
// This file is part of gold.
// Written by Ian Lance Taylor <iant@google.com>.
// This file is part of gold.
@@
-373,6
+373,7
@@
struct Compressed_section_info
{
section_size_type size;
elfcpp::Elf_Xword flag;
{
section_size_type size;
elfcpp::Elf_Xword flag;
+ uint64_t addralign;
const unsigned char* contents;
};
typedef std::map<unsigned int, Compressed_section_info> Compressed_section_map;
const unsigned char* contents;
};
typedef std::map<unsigned int, Compressed_section_info> Compressed_section_map;
@@
-808,7
+809,8
@@
class Object
bool
section_is_compressed(unsigned int shndx,
bool
section_is_compressed(unsigned int shndx,
- section_size_type* uncompressed_size) const
+ section_size_type* uncompressed_size,
+ elfcpp::Elf_Xword* palign = NULL) const
{
if (this->compressed_sections_ == NULL)
return false;
{
if (this->compressed_sections_ == NULL)
return false;
@@
-818,6
+820,8
@@
class Object
{
if (uncompressed_size != NULL)
*uncompressed_size = p->second.size;
{
if (uncompressed_size != NULL)
*uncompressed_size = p->second.size;
+ if (palign != NULL)
+ *palign = p->second.addralign;
return true;
}
return false;
return true;
}
return false;
@@
-828,7
+832,7
@@
class Object
// by the caller.
const unsigned char*
decompressed_section_contents(unsigned int shndx, section_size_type* plen,
// by the caller.
const unsigned char*
decompressed_section_contents(unsigned int shndx, section_size_type* plen,
- bool* is_cached);
+ bool* is_cached
, uint64_t* palign = NULL
);
// Discard any buffers of decompressed sections. This is done
// at the end of the Add_symbols task.
// Discard any buffers of decompressed sections. This is done
// at the end of the Add_symbols task.