ソースを参照

Include .extern and .hidden in x86-64 asm.

It's unclear why .extern was being suppressed, it's also a little
unclear how the Chromium build was working without this. None the less,
it's causing problems with Android and it's more obviously correct to
make these symbols as hidden.

Change-Id: Id13ec238b80b8bd08d8ae923ac659835450e77f8
Reviewed-on: https://boringssl-review.googlesource.com/3800
Reviewed-by: Adam Langley <agl@google.com>
kris/onging/CECPQ3_patch15
Adam Langley 9年前
コミット
d216b71f90
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      crypto/perlasm/x86_64-xlate.pl

+ 1
- 1
crypto/perlasm/x86_64-xlate.pl ファイルの表示

@@ -497,7 +497,7 @@ my %globals;
$self->{value} = $dir . "\t" . $line;

if ($dir =~ /\.extern/) {
$self->{value} = ""; # swallow extern
$self->{value} .= "\n.hidden $line";
} elsif (!$elf && $dir =~ /\.type/) {
$self->{value} = "";
$self->{value} = ".def\t" . ($globals{$1} or $1) . ";\t" .


読み込み中…
キャンセル
保存