From 041afb2883b804d7fab52ae606f20786ed68a0e3 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 28 Sep 2023 10:41:21 -0700 Subject: [PATCH] Add the missing copyright headers to the .S files. Dates taken from `git log --follow`. Test: treehugger Change-Id: I80e9ea6aa01f8e0553295453749afcbc3af827f9 --- debuggerd/crasher/arm/crashglue.S | 16 ++++++++++++++++ debuggerd/crasher/arm64/crashglue.S | 16 ++++++++++++++++ debuggerd/crasher/riscv64/crashglue.S | 16 ++++++++++++++++ debuggerd/crasher/x86/crashglue.S | 16 ++++++++++++++++ debuggerd/crasher/x86_64/crashglue.S | 16 ++++++++++++++++ 5 files changed, 80 insertions(+) diff --git a/debuggerd/crasher/arm/crashglue.S b/debuggerd/crasher/arm/crashglue.S index 0def8aee3..3001ca19e 100644 --- a/debuggerd/crasher/arm/crashglue.S +++ b/debuggerd/crasher/arm/crashglue.S @@ -1,3 +1,19 @@ +/* + * Copyright 2006, The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + .globl crash1 .type crash1, %function crash1: diff --git a/debuggerd/crasher/arm64/crashglue.S b/debuggerd/crasher/arm64/crashglue.S index c56e19a38..90ba9a1eb 100644 --- a/debuggerd/crasher/arm64/crashglue.S +++ b/debuggerd/crasher/arm64/crashglue.S @@ -1,3 +1,19 @@ +/* + * Copyright 2013, The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + .globl crash1 .type crash1, %function crash1: diff --git a/debuggerd/crasher/riscv64/crashglue.S b/debuggerd/crasher/riscv64/crashglue.S index f179e3368..804a511b9 100644 --- a/debuggerd/crasher/riscv64/crashglue.S +++ b/debuggerd/crasher/riscv64/crashglue.S @@ -1,3 +1,19 @@ +/* + * Copyright 2022, The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + .globl crash1 crash1: .cfi_startproc diff --git a/debuggerd/crasher/x86/crashglue.S b/debuggerd/crasher/x86/crashglue.S index 453035bf8..fe7c6480a 100644 --- a/debuggerd/crasher/x86/crashglue.S +++ b/debuggerd/crasher/x86/crashglue.S @@ -1,3 +1,19 @@ +/* + * Copyright 2010, The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + .globl crash1 crash1: movl $0xa5a50000, %eax diff --git a/debuggerd/crasher/x86_64/crashglue.S b/debuggerd/crasher/x86_64/crashglue.S index c3d39c483..ae13aa7e6 100644 --- a/debuggerd/crasher/x86_64/crashglue.S +++ b/debuggerd/crasher/x86_64/crashglue.S @@ -1,3 +1,19 @@ +/* + * Copyright 2010, The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + .globl crash1 crash1: movl $0xa5a50000, %eax