diff options
author | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2017-12-06 16:06:35 -0800 |
---|---|---|
committer | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2017-12-13 16:11:14 -0800 |
commit | a18947c20dba2c0c38db8bde1ad4684995df4bbd (patch) | |
tree | 917bf2abbe439a6f99ede8cfafb25812dca54a9a /meta-xilinx-bsp/recipes-microblaze/gcc/gcc-7/0004-gcc-config-microblaze-Use-default-ident-output-gener.patch | |
parent | 6ddc5873b0ede30e6542f0ab151a6236acc37944 (diff) | |
download | meta-xilinx-a18947c20dba2c0c38db8bde1ad4684995df4bbd.tar.gz |
meta-xilinx: Restructuring meta-xilinx to support multiple layers
As discussed previously on mailing list, we are proceeding with layer
restructuring. For rocko release we will have the following layers
meta-xilinx
->meta-xilinx-bsp (current meta-xilinx)
->meta-xilinx-contrib
In the subsequent releases we will add other layers from Xilinx
meta-xilinx
->meta-xilinx-bsp (current meta-xilinx)
->meta-petalinux
->meta-xilinx-tools
->meta-xilinx-contrib
This will provide one clone to get all the required meta layers from
Xilinx for a complete solution, and the users can blacklist any layer
which they don't want to use using bblayer.conf.
This will enables us to help our vendors/partners to add their reference
designs, board definitions etc.
Recipe changes :
* Move reference design zybo-linux-bd.bb to meta-xilinx-contrib
* Move kernel patches realted to zybo-linux-bd-zynq7 board to
meta-xilinx-contrib
* Update README
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Diffstat (limited to 'meta-xilinx-bsp/recipes-microblaze/gcc/gcc-7/0004-gcc-config-microblaze-Use-default-ident-output-gener.patch')
-rw-r--r-- | meta-xilinx-bsp/recipes-microblaze/gcc/gcc-7/0004-gcc-config-microblaze-Use-default-ident-output-gener.patch | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/recipes-microblaze/gcc/gcc-7/0004-gcc-config-microblaze-Use-default-ident-output-gener.patch b/meta-xilinx-bsp/recipes-microblaze/gcc/gcc-7/0004-gcc-config-microblaze-Use-default-ident-output-gener.patch new file mode 100644 index 00000000..3b8a2f5d --- /dev/null +++ b/meta-xilinx-bsp/recipes-microblaze/gcc/gcc-7/0004-gcc-config-microblaze-Use-default-ident-output-gener.patch | |||
@@ -0,0 +1,80 @@ | |||
1 | From 308ac81945b2674953797a9db4aee98397f88362 Mon Sep 17 00:00:00 2001 | ||
2 | From: Nathan Rossi <nathan@nathanrossi.com> | ||
3 | Date: Sat, 27 May 2017 00:00:17 +1000 | ||
4 | Subject: [PATCH 4/4] gcc/config/microblaze: Use default ident output | ||
5 | generation | ||
6 | |||
7 | Remove the MicroBlaze specific TARGET_ASM_OUTPUT_IDENT definition, and | ||
8 | use the default. | ||
9 | |||
10 | Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> | ||
11 | Upstream-Status: Unsubmitted | ||
12 | --- | ||
13 | gcc/config/microblaze/microblaze-protos.h | 1 - | ||
14 | gcc/config/microblaze/microblaze.c | 24 ------------------------ | ||
15 | gcc/config/microblaze/microblaze.h | 2 +- | ||
16 | 3 files changed, 1 insertion(+), 26 deletions(-) | ||
17 | |||
18 | diff --git a/gcc/config/microblaze/microblaze-protos.h b/gcc/config/microblaze/microblaze-protos.h | ||
19 | index 9ba8f2d46f..b56e052ae4 100644 | ||
20 | --- a/gcc/config/microblaze/microblaze-protos.h | ||
21 | +++ b/gcc/config/microblaze/microblaze-protos.h | ||
22 | @@ -51,7 +51,6 @@ extern int microblaze_regno_ok_for_base_p (int, int); | ||
23 | extern HOST_WIDE_INT microblaze_initial_elimination_offset (int, int); | ||
24 | extern void microblaze_declare_object (FILE *, const char *, const char *, | ||
25 | const char *, int); | ||
26 | -extern void microblaze_asm_output_ident (const char *); | ||
27 | extern int microblaze_legitimate_pic_operand (rtx); | ||
28 | extern bool microblaze_tls_referenced_p (rtx); | ||
29 | extern int symbol_mentioned_p (rtx); | ||
30 | diff --git a/gcc/config/microblaze/microblaze.c b/gcc/config/microblaze/microblaze.c | ||
31 | index d0f86fd460..bba6983b65 100644 | ||
32 | --- a/gcc/config/microblaze/microblaze.c | ||
33 | +++ b/gcc/config/microblaze/microblaze.c | ||
34 | @@ -3351,30 +3351,6 @@ microblaze_eh_return (rtx op0) | ||
35 | emit_insn (gen_movsi (gen_rtx_MEM (Pmode, stack_pointer_rtx), op0)); | ||
36 | } | ||
37 | |||
38 | -/* Queue an .ident string in the queue of top-level asm statements. | ||
39 | - If the string size is below the threshold, put it into .sdata2. | ||
40 | - If the front-end is done, we must be being called from toplev.c. | ||
41 | - In that case, do nothing. */ | ||
42 | -void | ||
43 | -microblaze_asm_output_ident (const char *string) | ||
44 | -{ | ||
45 | - const char *section_asm_op; | ||
46 | - int size; | ||
47 | - char *buf; | ||
48 | - | ||
49 | - if (symtab->state != PARSING) | ||
50 | - return; | ||
51 | - | ||
52 | - size = strlen (string) + 1; | ||
53 | - if (size <= microblaze_section_threshold) | ||
54 | - section_asm_op = SDATA2_SECTION_ASM_OP; | ||
55 | - else | ||
56 | - section_asm_op = READONLY_DATA_SECTION_ASM_OP; | ||
57 | - | ||
58 | - buf = ACONCAT ((section_asm_op, "\n\t.ascii \"", string, "\\0\"\n", NULL)); | ||
59 | - symtab->finalize_toplevel_asm (build_string (strlen (buf), buf)); | ||
60 | -} | ||
61 | - | ||
62 | static void | ||
63 | microblaze_elf_asm_init_sections (void) | ||
64 | { | ||
65 | diff --git a/gcc/config/microblaze/microblaze.h b/gcc/config/microblaze/microblaze.h | ||
66 | index 2c9ece1d6c..ccd77e8b4d 100644 | ||
67 | --- a/gcc/config/microblaze/microblaze.h | ||
68 | +++ b/gcc/config/microblaze/microblaze.h | ||
69 | @@ -743,7 +743,7 @@ do { \ | ||
70 | #define STRING_ASM_OP "\t.asciz\t" | ||
71 | |||
72 | #undef TARGET_ASM_OUTPUT_IDENT | ||
73 | -#define TARGET_ASM_OUTPUT_IDENT microblaze_asm_output_ident | ||
74 | +#define TARGET_ASM_OUTPUT_IDENT default_asm_output_ident_directive | ||
75 | |||
76 | /* Default to -G 8 */ | ||
77 | #ifndef MICROBLAZE_DEFAULT_GVALUE | ||
78 | -- | ||
79 | 2.11.0 | ||
80 | |||